Update csi script

This commit is contained in:
Adrien Reslinger 2020-04-08 19:20:09 +02:00
parent 7d3d1f65bd
commit 099d133e8b
3 changed files with 6 additions and 3 deletions

View file

@ -2,12 +2,12 @@
- set_fact:
certmanager_csi_state: "present"
when:
- certmanager_csi
- certmanager_csi|bool
- set_fact:
certmanager_csi_state: "absent"
when:
- not certmanager_csi
- not certmanager_csi|bool
- name: Cert Manager files version {{ certmanager_version }} need to be {{ certmanager_csi_state }}
k8s:

View file

@ -59,4 +59,4 @@
include_tasks: "csi.yml"
when:
- certmanager_csi
tags: certmanager
tags: certmanager|bool