matrix.yml aktualisiert
This commit is contained in:
parent
1c75767980
commit
1f32c653ef
12
matrix.yml
12
matrix.yml
@ -428,6 +428,7 @@
|
||||
- ./matrix-commander-data:/data:rw
|
||||
restart: no
|
||||
|
||||
|
||||
networks:
|
||||
matrix.{{inventory_hostname}}--network:
|
||||
driver: bridge
|
||||
@ -483,6 +484,17 @@
|
||||
chdir: /home/docker/matrix.{{inventory_hostname}}
|
||||
creates: /home/docker/matrix.{{inventory_hostname}}/matrix.init.log
|
||||
|
||||
- name: allow matrix-commander-messaging via sudo
|
||||
blockinfile:
|
||||
path: /etc/sudoers.d/matrix-notify
|
||||
mode: "0440"
|
||||
owner: root
|
||||
group: root
|
||||
create: yes
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK"
|
||||
block: |
|
||||
ALL ALL=NOPASSWD: /usr/bin/docker compose -f /home/docker/matrix.{{inventory_hostname}}/docker-compose.yml run -T matrix.{{inventory_hostname}}--commander -m * --room * --log-level WARNING WARNING
|
||||
|
||||
# - name: /usr/local/sbin/autoupdate.d/matrix.update
|
||||
# blockinfile:
|
||||
# path: /usr/local/sbin/autoupdate.d/matrix.update
|
||||
|
Loading…
Reference in New Issue
Block a user