Fix broadcast_websocket_secret length

Password lookup parameters must be within the same set of quotes.
Otherwise a default value of length is used (20).
This commit is contained in:
Taras Dyshkant 2020-08-21 15:35:39 +03:00
parent 51029a8b7a
commit e4095a0c27
No known key found for this signature in database
GPG Key ID: 72012970FC99EFF0
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
---
- name: Generate broadcast websocket secret
set_fact:
broadcast_websocket_secret: "{{ lookup('password', '/dev/null', length=128) }}"
broadcast_websocket_secret: "{{ lookup('password', '/dev/null length=128') }}"
run_once: true
no_log: true
when: broadcast_websocket_secret is not defined

View File

@ -1,7 +1,7 @@
---
- name: Generate broadcast websocket secret
set_fact:
broadcast_websocket_secret: "{{ lookup('password', '/dev/null', length=128) }}"
broadcast_websocket_secret: "{{ lookup('password', '/dev/null length=128') }}"
run_once: true
no_log: true
when: broadcast_websocket_secret is not defined