Add *xml to crontab for sync libvirt xml file
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
c9af7db827
commit
8dca949564
|
@ -33,7 +33,7 @@
|
||||||
state: present
|
state: present
|
||||||
special_time: "hourly"
|
special_time: "hourly"
|
||||||
user: root
|
user: root
|
||||||
job: "rsync -a --delete /etc/libvirt/qemu/ {{ hostvars[item]['ansible_pair'] }}:/root/libvirt-{{ inventory_hostname }}/"
|
job: "rsync -a --delete /etc/libvirt/qemu/*xml {{ hostvars[item]['ansible_pair'] }}:/root/libvirt-{{ inventory_hostname }}/"
|
||||||
loop: "{{ groups['hypervisors'] }}"
|
loop: "{{ groups['hypervisors'] }}"
|
||||||
when: item != inventory_hostname
|
when: item != inventory_hostname
|
||||||
tags: crontab
|
tags: crontab
|
||||||
|
|
Loading…
Reference in a new issue