gg
This commit is contained in:
parent
1963636a0e
commit
5078e04043
1 changed files with 5 additions and 3 deletions
|
@ -48,14 +48,16 @@
|
|||
notify:
|
||||
- restart service unit
|
||||
|
||||
- name: template service
|
||||
- name: Ensure systemd services are templated
|
||||
become: true
|
||||
ansible.builtin.template:
|
||||
src: "blocky.service.j2"
|
||||
dest: /etc/systemd/system/blocky.service
|
||||
src: "{{ item }}.j2"
|
||||
dest: /etc/systemd/system/{{ item }}
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
notify:
|
||||
- systemctl daemon-reload
|
||||
- restart service unit
|
||||
loop:
|
||||
- blocky.service
|
||||
|
|
Loading…
Reference in a new issue