AdnanHodzic / containerized-wordpress-project

Automagically deploy & run WordPress with Let's Encrypt HTTPS encryption using Ansible & Docker
https://foolcontrol.org/?p=2002
GNU General Public License v3.0
43 stars 22 forks source link

Roles not installed from requirements.yml #1

Closed jamesattard closed 6 years ago

jamesattard commented 7 years ago

Roles cannot be automatically installed, as per instructions (of course they work if installed manually from galaxy). I will assume that it is because this project is not using ansible-container. I suggest to update README.md accordingly.

(venv) ➜  containerized-wordpress-project git:(master) ✗ ansible-playbook containerized-wordpress.yml -i hosts
ERROR! the role 'AdnanHodzic.python-ubuntu-bootstrap' was not found in /home/james/code/containerized-wordpress-project/roles:/etc/ansible/roles:/home/james/code/containerized-wordpress-project

The error appears to have been in '/home/james/code/containerized-wordpress-project/containerized-wordpress.yml': line 74, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  roles:
  - AdnanHodzic.python-ubuntu-bootstrap
    ^ here
AdnanHodzic commented 6 years ago

Thanks for bringing this to my attention.

Something changed in Ansible which prevented local setup/install of roles. In last couple of commits I made changes to code, and README has been updated.