gitinsky / ansible-role-patroni

Ansible role for setting up and configuring PostgreSQL HA management tool
MIT License
14 stars 4 forks source link

ERROR! the role 'postgresql' was not found #6

Open patsevanton opened 5 years ago

patsevanton commented 5 years ago
ansible-playbook cluster-pgsql.yml --skip-tags patroni
 [WARNING]: Found both group and host with same name: test

 [WARNING]: Found both group and host with same name: gitlab

 [WARNING]: Found both group and host with same name: gitlab-runner

ERROR! the role 'postgresql' was not found in /home/user/ansible-roles/roles:/home/user/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/user/ansible-roles/roles:/home/user/ansible-roles

The error appears to have been in '/home/user/ansible-roles/roles/gitinsky.ansible-role-patroni/meta/main.yml': line 3, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

dependencies:
  - { role: postgresql, postgres_service_enabled: no }
    ^ here
hryamzik commented 5 years ago
git submodule add https://github.com/gitinsky/ansible-role-postgresql roles/postgresql
patsevanton commented 5 years ago

Please add to Readme