geerlingguy/ansible-role-apache

Content has no field named 'owner'

flaugher opened this issue · 3 comments

I'm trying to use this role to install Apache onto a Debian 9.8 server from a directory on a Mac running macOS 10.12.6 ("Sierra") but I get the following warning and the role doesn't install:

ansible-galaxy install geerlingguy-apache --roles-path ~/playbook/roles-debian9
- downloading role 'geerlingguy-apache', owned by
 [WARNING]: - geerlingguy-apache was NOT installed successfully: Content has no field named 'owner'
ERROR! - you can use --ignore errors to skip failed roles and finish processing the list

But even if I include "--ignore-errors", the role still won't install.

Here is my Ansible information:

ansible-galaxy 2.5.3
  config file = /Users/me/playbooks/myproject/ansible.cfg
  configured module search path = [u'/Users/me/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/me/.virtualenvs/ansible2/lib/python2.7/site-packages/ansible
  executable location = /Users/me/.virtualenvs/ansible2/bin/ansible-galaxy
  python version = 2.7.12 (default, Oct 11 2016, 05:20:59) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)]

ansible 2.5.3
  config file = /Users/me/playbooks/myproject/ansible.cfg
  configured module search path = [u'/Users/me/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/me/.virtualenvs/ansible2/lib/python2.7/site-packages/ansible
  executable location = /Users/me/.virtualenvs/ansible2/bin/ansible
  python version = 2.7.12 (default, Oct 11 2016, 05:20:59) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)]

As you can see, the install command says "owned by " but there is no owner name.

eis commented

It should be

ansible-galaxy install geerlingguy.apache

, right. Not the dash.

stale commented

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@eis is correct; this needs to be installed with geerlingguy.apache (dot, not dash). Also, Ansible 2.5 is not supported anymore (though this role should work on it), just FYI :)