diff --git a/roles/ipa/tasks/main.yml b/roles/ipa/tasks/main.yml index 7a90e6b241..6be2b7ba56 100644 --- a/roles/ipa/tasks/main.yml +++ b/roles/ipa/tasks/main.yml @@ -39,7 +39,7 @@ when: inventory_hostname.startswith("ipa01") - name: create replica file - delegate: ipa01.phx2.fedoraproject.org + delegate_to: ipa01.phx2.fedoraproject.org command: ipa-replica-prepare --password={{ipa_dm_password}} --ip-address={{eth0_ip}} @@ -47,7 +47,7 @@ when: env != "staging" and not inventory_hostname.startswith("ipa01") - name: retrieve replica file - delegate: ipa01.phx2.fedoraproject.org + delegate_to: ipa01.phx2.fedoraproject.org fetch: src=/var/lib/ipa/replica-info-{{inventory_hostname}}.gpg dest=/tmp/ipa_replica_{{inventory_hostname}} when: env != "staging" and not inventory_hostname.startswith("ipa01")