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:
JoelKle
2020-05-19 09:26:03 +02:00
committed by Joel Klekottka
parent a74fbd6578
commit caab751215
3 changed files with 7 additions and 0 deletions

View File

@@ -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"

View File

@@ -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: