k8s/preinstall: Turn AND condition into a list

This commit is contained in:
Maxime Brunet 2018-08-25 14:33:31 -04:00
parent 70b28288a3
commit 33135f2ada

View file

@ -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