k8s/preinstall: Turn AND condition into a list
This commit is contained in:
parent
70b28288a3
commit
33135f2ada
1 changed files with 3 additions and 1 deletions
|
@ -20,4 +20,6 @@
|
|||
creates: "{{ inventory_dir }}/credentials"
|
||||
delegate_to: localhost
|
||||
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 a new issue