From 82cb7596ab7e79fa3a7fdbbf9cdd048320778697 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 13 Oct 2016 12:18:53 +0000 Subject: [PATCH] Stat info is in a subdict Signed-off-by: Patrick Uiterwijk --- roles/ipa/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.