Merge pull request #9111 from shanemcd/no-default-password

Do not set default admin_password

Reviewed-by: Ryan Petrello
             https://github.com/ryanpetrello
This commit is contained in:
softwarefactory-project-zuul[bot]
2021-01-19 17:04:29 +00:00
committed by GitHub
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 != ''