gg
This commit is contained in:
parent
1963636a0e
commit
5078e04043
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue