1
0
Fork 0
mirror of https://github.com/roles-ansible/role-postgresql-backup.git synced 2024-08-16 10:19:49 +02:00
role-postgresql-backup/tasks/packages.yml

14 lines
349 B
YAML
Raw Normal View History

2020-07-08 15:45:38 +02:00
---
- name: "Install PostgreSQL client"
become: true
ansible.builtin.package:
2020-07-08 15:45:38 +02:00
name: "{{ postgresql_backup.required_packages }}"
state: present
2020-07-21 18:43:58 +02:00
- name: "Install tar and gzip"
become: true
ansible.builtin.package:
2020-07-21 18:43:58 +02:00
name: "{{ postgresql_backup.optional_packages }}"
state: present
when: postgresql_backup.create_tar_gz | bool