carlalexander/debops-wordpress

debops.elasticsearch renamed to roles/elasticsearch in upstream

Opened this issue · 2 comments

Was attempting to run debops wordpress today, and kept getting the following error:

~/debops-wordpress  ➦ bc539fe ●  debops wordpress
Running Ansible playbooks:
/Users/robert/debops-wordpress/playbooks/wordpress.yml
ERROR! the role 'debops.elasticsearch/env' was not found in /Users/robert/debops-wordpress/playbooks/roles:/Users/robert/debops-wordpress/roles:/Users/robert/debops-wordpress/ansible/roles:/Users/robert/debops-wordpress/debops/ansible/roles:/Users/robert/Library/Application Support/debops/debops/ansible/roles:/usr/local/lib/python3.7/site-packages/debops/ansible/roles:/Users/robert/Library/Application Support/debops/debops/ansible/roles:/Users/robert/Library/Application Support/debops/debops/ansible/playbooks/roles:/etc/ansible/roles:/Users/robert/debops-wordpress/playbooks

The error appears to be in '/Users/robert/debops-wordpress/playbooks/wordpress.yml': line 15, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


    - role: debops.elasticsearch/env
      ^ here

I took at look at debops and it looks like this was changed in the upstream in this commit:

debops/debops@9fcdbbd#diff-b7d7da83c689b02eed81accfeceb88fb

I will try to do a PR for you on this.

Tried a simple change to role: elasticsearch/env and that's not working either, looks like other changes were made in v2.0.3 of debops to move from /env roles to pre_tasks: - import_role: syntax: debops/debops@2f04a71

Yeah, all the roles were renamed in version 2. I haven't had the time to go and update/fix everything. You can switch the debops installation to an earlier tag for now.