Dont require pg_admin_password unless we're using it.

This commit is contained in:
Shane McDonald
2019-11-05 15:21:23 -05:00
parent 68c26014cc
commit 24da2b78b8
4 changed files with 17 additions and 3 deletions

View File

@@ -46,3 +46,10 @@
- docker_registry_password is defined and docker_registry_password != ''
msg: "Set the value of 'docker_registry_password' in the inventory file."
when: dockerhub_base is not defined
- name: pg_admin_password should be defined
assert:
that:
- pg_admin_password is defined and pg_admin_password != ''
when:
- pg_hostname is not defined or pg_hostname == ''