mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 18:36:53 +08:00
v2 doesn't take --hosts just a hosts argument
This commit is contained in:
@@ -5,7 +5,7 @@ diffout=$(mktemp tmp.XXXXXXXXX)
|
||||
mailto='admin@fedoraproject.org'
|
||||
source /root/sshagent >>/dev/null
|
||||
export ANSIBLE_HOST_KEY_CHECKING=False
|
||||
/srv/web/infra/ansible/scripts/list-vms-per-host.v2 --host=virtservers 2>/dev/null > "$output"
|
||||
/srv/web/infra/ansible/scripts/list-vms-per-host.v2 virtservers 2>/dev/null > "$output"
|
||||
chmod 644 "$output"
|
||||
diff -u "$dest" "$output" > $diffout
|
||||
rc=$?
|
||||
|
||||
Reference in New Issue
Block a user