k8s/preinstall: Turn AND condition into a list
parent
70b28288a3
commit
33135f2ada
|
@ -20,4 +20,6 @@
|
||||||
creates: "{{ inventory_dir }}/credentials"
|
creates: "{{ inventory_dir }}/credentials"
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
become: no
|
become: no
|
||||||
when: old_credential_dir.stat.exists and not new_credential_dir.stat.exists
|
when:
|
||||||
|
- old_credential_dir.stat.exists
|
||||||
|
- not new_credential_dir.stat.exists
|
||||||
|
|
Loading…
Reference in New Issue