7 lines
270 B
YAML
7 lines
270 B
YAML
---
|
|
- name: Restart container service {{ container_name }}
|
|
ansible.builtin.set_fact:
|
|
systemd_restart_units: "{{ systemd_restart_units + [container_name ~ '.service'] }}" # noqa: var-naming[no-role-prefix]
|
|
changed_when: true
|
|
notify: Apply systemd unit restarts
|