geerlingguy / ansible-role-postgresql

Ansible Role - PostgreSQL
https://galaxy.ansible.com/geerlingguy/postgresql/
MIT License
572 stars 389 forks source link

Ansible pipeline can't find or access the Ubuntu-20.yml file #223

Closed prowessandy closed 2 years ago

prowessandy commented 2 years ago

Hello all,

We've been using this wonderful role for years for our Ubuntu 16/18 servers. However, it failed on Ubuntu 20(automated Ansible Configuration As Code pipeline), where we are trying to install PostgreSQL 10 only, with the error below. Can you help diagnose why? Thanks so much!

FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find or access 'Ubuntu-20.yml'\nSearched in:\n\t/tmp/build/bc3b229a/ansible-playbook/roles/geerlingguy.ansible-role-postgresql/vars/Ubuntu-20.yml\n\t/tmp/build/bc3b229a/ansible-playbook/roles/geerlingguy.ansible-role-postgresql/Ubuntu-20.yml\n\t/tmp/build/bc3b229a/ansible-playbook/roles/geerlingguy.ansible-role-postgresql/tasks/vars/Ubuntu-20.yml\n\t/tmp/build/bc3b229a/ansible-playbook/roles/geerlingguy.ansible-role-postgresql/tasks/Ubuntu-20.yml\n\t/tmp/build/bc3b229a/ansible-playbook/vars/Ubuntu-20.yml\n\t/tmp/build/bc3b229a/ansible-playbook/Ubuntu-20.yml on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}

prowessandy commented 2 years ago

Thanks, Geerling! It works with a newer version(tag)