This commit is contained in:
Michael Grote 2024-12-30 18:51:23 +01:00
parent 1963636a0e
commit 5078e04043

View file

@ -48,14 +48,16 @@
notify: notify:
- restart service unit - restart service unit
- name: template service - name: Ensure systemd services are templated
become: true become: true
ansible.builtin.template: ansible.builtin.template:
src: "blocky.service.j2" src: "{{ item }}.j2"
dest: /etc/systemd/system/blocky.service dest: /etc/systemd/system/{{ item }}
owner: root owner: root
group: root group: root
mode: "0644" mode: "0644"
notify: notify:
- systemctl daemon-reload - systemctl daemon-reload
- restart service unit - restart service unit
loop:
- blocky.service