mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Fix openshift_pg_emptydir logic
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
msg: "Ensure a PVC named '{{ openshift_pg_pvc_name }}' is created and bound in the '{{ awx_openshift_project }}' namespace."
|
msg: "Ensure a PVC named '{{ openshift_pg_pvc_name }}' is created and bound in the '{{ awx_openshift_project }}' namespace."
|
||||||
when:
|
when:
|
||||||
- pg_hostname is not defined or pg_hostname == ''
|
- pg_hostname is not defined or pg_hostname == ''
|
||||||
- openshift_pg_emptydir is defined and openshift_pg_emptydir != true
|
- openshift_pg_emptydir is defined and (openshift_pg_emptydir | bool) != true
|
||||||
|
|
||||||
- name: Set postgresql service name
|
- name: Set postgresql service name
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|||||||
Reference in New Issue
Block a user