29d7b1c504
Signed-off-by: Nis Wechselberg <enbewe@enbewe.de>
46 lines
1,011 B
YAML
46 lines
1,011 B
YAML
---
|
|
- name: 'Reload uffd services'
|
|
become: true
|
|
ansible.builtin.service:
|
|
daemon_reload: true
|
|
|
|
- name: 'Restart uffd network'
|
|
become: true
|
|
ansible.builtin.service:
|
|
name: '{{ uffd_podman_network }}-network'
|
|
state: 'restarted'
|
|
notify:
|
|
- 'Restart uffd container'
|
|
|
|
- name: 'Restart uffd volumes'
|
|
become: true
|
|
ansible.builtin.service:
|
|
name: '{{ item }}-volume'
|
|
state: 'restarted'
|
|
loop:
|
|
- '{{ uffd_static_files_volume }}'
|
|
- '{{ uffd_data_volume }}'
|
|
notify:
|
|
- 'Restart uffd container'
|
|
|
|
- name: 'Restart uffd container'
|
|
become: true
|
|
ansible.builtin.service:
|
|
name: 'uffd-app'
|
|
state: 'restarted'
|
|
notify:
|
|
- 'Restart uffd-nginx container'
|
|
|
|
- name: 'Restart uffd-nginx image'
|
|
become: true
|
|
ansible.builtin.service:
|
|
name: 'uffd-nginx-image.service'
|
|
state: 'restarted'
|
|
notify:
|
|
- 'Restart uffd-nginx container'
|
|
|
|
- name: 'Restart uffd-nginx container'
|
|
become: true
|
|
ansible.builtin.service:
|
|
name: 'uffd-nginx'
|
|
state: 'restarted'
|