79a75602b7
Signed-off-by: Nis Wechselberg <enbewe@enbewe.de>
23 lines
491 B
YAML
23 lines
491 B
YAML
---
|
|
- name: 'Reload caddy services'
|
|
become: true
|
|
ansible.builtin.service:
|
|
daemon-reload: true
|
|
|
|
- name: 'Restart caddy image'
|
|
become: true
|
|
ansible.builtin.service:
|
|
name: 'caddy-image.service'
|
|
state: 'restarted'
|
|
|
|
- name: 'Restart caddy volume'
|
|
become: true
|
|
ansible.builtin.service:
|
|
name: 'caddy-data-volume.service'
|
|
state: 'restarted'
|
|
|
|
- name: 'Restart caddy container'
|
|
become: true
|
|
ansible.builtin.service:
|
|
name: 'caddy.service'
|
|
state: 'restarted'
|