mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 22:21:04 +01:00
Implemented when condition for native-docker-volume-backup
This commit is contained in:
parent
af04c9fccf
commit
baeef4aad2
6
site.yml
6
site.yml
@ -8,8 +8,14 @@
|
||||
- native-user-alarm
|
||||
- name: setup primary_backup_hosts
|
||||
hosts: primary_backup_hosts
|
||||
pre_tasks:
|
||||
- name: "check if docker is installed"
|
||||
shell: pacman -Q docker
|
||||
register: pacman_q_docker
|
||||
ignore_errors: yes
|
||||
roles:
|
||||
- role: native-docker-volume-backup
|
||||
when: "'error:' not in pacman_q_docker.stderr"
|
||||
- name: setup replica backup hosts
|
||||
hosts: replica_backup_hosts
|
||||
roles:
|
||||
|
Loading…
Reference in New Issue
Block a user