mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -03:30
Do not set default admin_password
This commit is contained in:
@@ -104,7 +104,7 @@ pg_port=5432
|
|||||||
# This will create or update a default admin (superuser) account in AWX, if not provided
|
# This will create or update a default admin (superuser) account in AWX, if not provided
|
||||||
# then these default values are used
|
# then these default values are used
|
||||||
admin_user=admin
|
admin_user=admin
|
||||||
admin_password=password
|
# admin_password=password
|
||||||
|
|
||||||
# Whether or not to create preload data for demonstration purposes
|
# Whether or not to create preload data for demonstration purposes
|
||||||
create_preload_data=True
|
create_preload_data=True
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# main.yml
|
# 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
|
- include_tasks: check_openshift.yml
|
||||||
when: openshift_host is defined and openshift_host != ''
|
when: openshift_host is defined and openshift_host != ''
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user