mirror of
https://gitea.0xace.cc/ansible-galaxy/patroni.git
synced 2024-11-28 17:46:40 +00:00
21 lines
468 B
YAML
21 lines
468 B
YAML
- name: Add gpg keys for patroni
|
|
ansible.builtin.apt_key:
|
|
url: "{{ item.url }}"
|
|
keyring: "{{ item.keyring }}"
|
|
loop: "{{ patroni_apt_key }}"
|
|
|
|
- name: Add Patroni repository
|
|
apt_repository:
|
|
repo: "{{ item.repo }}"
|
|
state: present
|
|
filename: "{{ item.filename }}"
|
|
update_cache: yes
|
|
loop: "{{ patroni_apt_repository }}"
|
|
|
|
- name: Install deps packages
|
|
apt:
|
|
name: "{{ patroni_deps_packages }}"
|
|
state: present
|
|
update_cache: yes
|
|
|