mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Added the ability, to set the broadcast_websocket_secret variable.
This is nessesary if you would like to rerun the playbook. Signed-off-by: JoelKle <34544090+JoelKle@users.noreply.github.com>
This commit is contained in:
parent
a74fbd6578
commit
caab751215
@ -117,6 +117,11 @@ create_preload_data=True
|
||||
# your credentials
|
||||
secret_key=awxsecret
|
||||
|
||||
# By default a broadcast websocket secret will be generated.
|
||||
# If you would like to *rerun the playbook*, you need to set a unique password.
|
||||
# Otherwise it would generate a new one every playbook run.
|
||||
# broadcast_websocket_secret=
|
||||
|
||||
# Build AWX with official logos
|
||||
# Requires cloning awx-logos repo as a sibling of this project.
|
||||
# Review the trademark guidelines at https://github.com/ansible/awx-logos/blob/master/TRADEMARKS.md
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
broadcast_websocket_secret: "{{ lookup('password', '/dev/null', length=128) }}"
|
||||
run_once: true
|
||||
no_log: true
|
||||
when: broadcast_websocket_secret is not defined
|
||||
|
||||
- fail:
|
||||
msg: "Only set one of kubernetes_context or openshift_host"
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
broadcast_websocket_secret: "{{ lookup('password', '/dev/null', length=128) }}"
|
||||
run_once: true
|
||||
no_log: true
|
||||
when: broadcast_websocket_secret is not defined
|
||||
|
||||
- import_tasks: upgrade_postgres.yml
|
||||
when:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user