novnc.yml aktualisiert

This commit is contained in:
olli 2023-08-11 15:33:30 +02:00
parent f7c4abc8ff
commit 2be28df2b5

View File

@ -88,7 +88,6 @@
cd /home/docker/traefik.{{inventory_hostname}} cd /home/docker/traefik.{{inventory_hostname}}
user=admin user=admin
password=$(pwgen -s 32 1) password=$(pwgen -s 32 1)
matrixadminpassword=$(pwgen -s 32 1)
[ -f novnc-env ] || echo "USER=!USER! [ -f novnc-env ] || echo "USER=!USER!
PASSWORD=!PASSWORD! PASSWORD=!PASSWORD!
@ -105,9 +104,9 @@
backup: yes backup: yes
validate: /bin/bash -n %s validate: /bin/bash -n %s
- name: /home/docker/matrix.{{inventory_hostname}}/novnc-genpw.sh shebang - name: /home/docker/traefik.{{inventory_hostname}}/novnc-genpw.sh shebang
lineinfile: lineinfile:
path: /home/docker/matrix.{{inventory_hostname}}/novnc-genpw.sh path: /home/docker/traefik.{{inventory_hostname}}/novnc-genpw.sh
insertbefore: BOF insertbefore: BOF
line: "#!/bin/bash -e" line: "#!/bin/bash -e"