1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00
awx/installer/roles/check_vars/tasks/check_docker.yml

15 lines
448 B
YAML
Raw Normal View History

2017-09-01 05:21:25 +03:00
# check_docker.yml
2017-09-08 00:21:28 +03:00
---
2017-09-01 05:21:25 +03:00
- name: postgres_data_dir should be defined
assert:
that:
- postgres_data_dir is defined and postgres_data_dir != ''
2017-09-01 05:21:25 +03:00
msg: "Set the value of 'postgres_data_dir' in the inventory file."
when: pg_hostname is not defined or pg_hostname == ''
- name: host_port should be defined
assert:
that:
- host_port is defined and host_port != ''
2017-09-01 05:21:25 +03:00
msg: "Set the value of 'host_port' in the inventory file."