Explorar o código

fix forgotten default with role.state

Grega Bremec hai 1 mes
pai
achega
d6749bc257
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      playbooks/roles/create-ichp-project/tasks/main.yml

+ 1 - 1
playbooks/roles/create-ichp-project/tasks/main.yml

@@ -117,7 +117,7 @@
 
     #- name: ...if egress IP was specified, ensure it is available and in openshift.egress_range.
 
-  when: role.state == "present"
+  when: role.state == 'present' | default('present')
 
 - name: Apply the project template to the cluster with correct state set.
   kubernetes.core.k8s: