mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
can also be undefined to prevent exposing a port. Signed-off-by: JoelKle <34544090+JoelKle@users.noreply.github.com>
9 lines
279 B
YAML
9 lines
279 B
YAML
# check_docker.yml
|
|
---
|
|
- name: postgres_data_dir should be defined
|
|
assert:
|
|
that:
|
|
- postgres_data_dir is defined and postgres_data_dir != ''
|
|
msg: "Set the value of 'postgres_data_dir' in the inventory file."
|
|
when: pg_hostname is not defined or pg_hostname == ''
|