mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Support PVCs that were created w/ WaitForFirstConsumer
This commit is contained in:
parent
9e118b8a0c
commit
43bf2989af
@ -18,8 +18,8 @@
|
||||
- name: Ensure PostgreSQL PVC is available
|
||||
assert:
|
||||
that:
|
||||
- pg_pvc_status.stdout == "Bound"
|
||||
msg: "Ensure a PVC named '{{ openshift_pg_pvc_name }}' is created and bound in the '{{ openshift_project }}' namespace."
|
||||
- pg_pvc_status.stdout in ["Bound", "Pending"]
|
||||
msg: "Ensure a PVC named '{{ openshift_pg_pvc_name }}' is available in the namespace '{{ openshift_project }}'."
|
||||
when:
|
||||
- pg_hostname is not defined or pg_hostname == ''
|
||||
- openshift_pg_emptydir is defined and (openshift_pg_emptydir | bool) != true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user