Do not set default admin_password

This commit is contained in:
Shane McDonald 2021-01-19 11:32:06 -05:00
parent 3a467067f3
commit aabb55810b
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374
2 changed files with 7 additions and 1 deletions

View File

@ -104,7 +104,7 @@ pg_port=5432
# This will create or update a default admin (superuser) account in AWX, if not provided
# then these default values are used
admin_user=admin
admin_password=password
# admin_password=password
# Whether or not to create preload data for demonstration purposes
create_preload_data=True

View File

@ -1,5 +1,11 @@
# main.yml
---
- name: admin_password should be defined
assert:
that:
- admin_password is defined and admin_password != ''
msg: "Set the value of 'admin_password' in the inventory file."
- include_tasks: check_openshift.yml
when: openshift_host is defined and openshift_host != ''