diff --git a/roles/ipa/tasks/main.yml b/roles/ipa/tasks/main.yml index dc5c9e4c63..137051eead 100644 --- a/roles/ipa/tasks/main.yml +++ b/roles/ipa/tasks/main.yml @@ -56,7 +56,7 @@ tags: - ipa - config - when: not inventory_hostname.startswith("ipa01") and not replication_status.exists + when: not inventory_hostname.startswith("ipa01") and not replication_status.stat.exists - name: retrieve replica file delegate_to: ipa01.phx2.fedoraproject.org @@ -66,7 +66,7 @@ tags: - ipa - config - when: not inventory_hostname.startswith("ipa01") and not replication_status.exists + when: not inventory_hostname.startswith("ipa01") and not replication_status.stat.exists - name: deploy replica file copy: src=/tmp/ipa_replica_{{inventory_hostname}}.gpg @@ -75,7 +75,7 @@ tags: - ipa - config - when: not inventory_hostname.startswith("ipa01") and not replication_status.exists + when: not inventory_hostname.startswith("ipa01") and not replication_status.stat.exists - name: destroy replica file on ansible host delegate_to: localhost @@ -83,7 +83,7 @@ tags: - ipa - config - when: not inventory_hostname.startswith("ipa01") and not replication_status.exists + when: not inventory_hostname.startswith("ipa01") and not replication_status.stat.exists # # switch this to use the systemd module as soon as ansible 2.2 is out.