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