Fix commit d455de5
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Alexis Ben Miloud--Josselin 2022-03-03 11:54:32 +01:00
parent 3ef6381ba6
commit 87a3fd48df
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
state: present
special_time: "hourly"
user: root
job: "if ! ls /etc/libvirt/qemu/*xml > /dev/null 2> /dev/null; then rsync -a --delete /etc/libvirt/qemu/*xml {{ hostvars[kvm_pair]['lan.ip'] }}:/root/libvirt-{{ inventory_hostname }}/; fi"
job: "if ls /etc/libvirt/qemu/*xml > /dev/null 2> /dev/null; then rsync -a --delete /etc/libvirt/qemu/*xml {{ hostvars[kvm_pair]['lan.ip'] }}:/root/libvirt-{{ inventory_hostname }}/; fi"
when:
- kvm_pair is defined
- kvm_pair is not none