Stat info is in a subdict
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
aeca7d159b
commit
82cb7596ab
1 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue