Allow for setting custom admin password in dev environment

This commit is contained in:
Shane McDonald
2022-08-26 11:23:55 -04:00
parent 4fbf5e9e2f
commit d752e6ce6d
4 changed files with 6 additions and 4 deletions

View File

@@ -18,6 +18,7 @@
- pg_password
- secret_key
- broadcast_websocket_secret
- admin_password
- name: Generate secrets if needed
template:

View File

@@ -22,6 +22,7 @@ services:
CONTROL_PLANE_NODE_COUNT: {{ control_plane_node_count|int }}
EXECUTION_NODE_COUNT: {{ execution_node_count|int }}
AWX_LOGGING_MODE: stdout
DJANGO_SUPERUSER_PASSWORD: {{ admin_password }}
{% if loop.index == 1 %}
RUN_MIGRATIONS: 1
{% endif %}