mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-28 18:30:24 +02:00
Updated administrator email
This commit is contained in:
parent
fca8eee8e7
commit
ae94dd974a
@ -50,6 +50,19 @@
|
||||
"client_secret": oidc.client.secret
|
||||
} | to_json }}
|
||||
|
||||
- name: Update administrator email in Listmonk
|
||||
shell: |
|
||||
docker exec -i {{ database_host }} psql \
|
||||
-U {{ database_username }} \
|
||||
-v ON_ERROR_STOP=1 \
|
||||
-d {{ database_name }} << 'EOSQL'
|
||||
UPDATE users
|
||||
SET email = '{{users.administrator.email}}'
|
||||
WHERE username = 'administrator';
|
||||
EOSQL
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
||||
- name: Apply all Listmonk settings
|
||||
shell: |
|
||||
docker exec -i {{ database_host }} psql \
|
||||
|
Loading…
x
Reference in New Issue
Block a user