k8s/preinstall: Turn AND condition into a list

pull/3104/head
Maxime Brunet 2018-08-25 14:33:31 -04:00
parent 70b28288a3
commit 33135f2ada
1 changed files with 3 additions and 1 deletions

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