2023-04-03 16:04:50 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Install etcd client / server package
|
|
|
|
ansible.builtin.apt:
|
|
|
|
name:
|
|
|
|
- etcd-client
|
|
|
|
- etcd-server
|
2023-06-06 10:30:08 +02:00
|
|
|
update_cache: yes
|
|
|
|
|
|
|
|
- name: Install python dependencies for Patroni
|
|
|
|
ansible.builtin.apt:
|
|
|
|
name:
|
|
|
|
- python3-etcd
|
|
|
|
- python3-psycopg2
|
|
|
|
when: etcd_install_dependencies_for_patroni | bool
|