Fix commit d455de5
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Alexis Ben Miloud--Josselin 2022-03-03 11:54:32 +01:00
parent 3ef6381ba6
commit 87a3fd48df

View file

@ -33,7 +33,7 @@
state: present state: present
special_time: "hourly" special_time: "hourly"
user: root 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: when:
- kvm_pair is defined - kvm_pair is defined
- kvm_pair is not none - kvm_pair is not none