Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

debops.elasticsearch renamed to roles/elasticsearch in upstream #220

Open
rsimplicio opened this issue Apr 24, 2020 · 2 comments
Open

debops.elasticsearch renamed to roles/elasticsearch in upstream #220

rsimplicio opened this issue Apr 24, 2020 · 2 comments

Comments

@rsimplicio
Copy link

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.

@rsimplicio
Copy link
Author

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

@carlalexander
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants