kostiantyn-nemchenko / ansible-role-patroni

:elephant: Ansible Role for Patroni
https://galaxy.ansible.com/kostiantyn-nemchenko/patroni
MIT License
68 stars 44 forks source link

Required dependencies changed for CentOS 7.6 #58

Closed acehead closed 5 years ago

acehead commented 5 years ago

While running role on CentOS 7.6 i've identified that the set of built-in dependencies is insufficient to get Patroni installed.

Setting values as follows helped to solve the issue. Please consider adjusting role to reflect those changes

patroni_system_packages:
  - { name: "gcc", state: "present" }
  - { name: "python-devel", state: "present" }
  - { name: "epel-release", state: "present" }
  - { name: "python2-pip", state: "present" }
  - { name: "python-psycopg2", state: "present" }
  - { name: "jq",         state: "present" }

patroni_pip_packages:
  - { name: "pip",                        state: "latest",  umask: "0022" }
  - { name: "setuptools",                 state: "latest",  umask: "0022" }
  - { name: "patroni[{{ patroni_dcs }}]", state: "present", umask: "0022" }
kostiantyn-nemchenko commented 5 years ago

Thank you. Will take a closer look at this matter soon.

kostiantyn-nemchenko commented 5 years ago

@acehead I've prepared the fix. Would be great if you could test it on your environment.

acehead commented 5 years ago

Just tried, works great, thanks for a quick response!