35 lines
863 B
YAML
35 lines
863 B
YAML
|
---
|
||
|
- name: 'Restart nextcloud-db container'
|
||
|
become: true
|
||
|
ansible.builtin.service:
|
||
|
name: 'container-nextcloud-db'
|
||
|
state: 'restarted'
|
||
|
daemon_reload: true
|
||
|
notify:
|
||
|
- 'Restart nextcloud-app container'
|
||
|
- 'Restart nextcloud-cron container'
|
||
|
|
||
|
- name: 'Restart nextcloud-redis container'
|
||
|
become: true
|
||
|
ansible.builtin.service:
|
||
|
name: 'container-nextcloud-redis'
|
||
|
state: 'restarted'
|
||
|
daemon_reload: true
|
||
|
notify:
|
||
|
- 'Restart nextcloud-app container'
|
||
|
- 'Restart nextcloud-cron container'
|
||
|
|
||
|
- name: 'Restart nextcloud-app container'
|
||
|
become: true
|
||
|
ansible.builtin.service:
|
||
|
name: 'container-nextcloud-app'
|
||
|
state: 'restarted'
|
||
|
daemon_reload: true
|
||
|
|
||
|
- name: 'Restart nextcloud-cron container'
|
||
|
become: true
|
||
|
ansible.builtin.service:
|
||
|
name: 'container-nextcloud-cron'
|
||
|
state: 'restarted'
|
||
|
daemon_reload: true
|