matrix-docker-ansible-deploy/roles/custom/matrix-postgres-backup/tasks/main.yml

21 lines
572 B
YAML
Raw Normal View History

---
- block:
- when: matrix_postgres_backup_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: matrix_postgres_backup_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
2022-11-25 14:02:51 +00:00
tags:
- setup-all
- setup-postgres-backup
- install-all
- install-postgres-backup
2022-11-25 14:02:51 +00:00
- block:
- when: not matrix_postgres_backup_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
tags:
- setup-all
- setup-postgres-backup