1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_acmetool.git synced 2024-08-16 12:29:49 +02:00
ansible_role_acmetool/tasks/systemd.yml

15 lines
352 B
YAML
Raw Normal View History

2021-09-30 02:30:42 +02:00
---
2022-10-25 22:51:18 +02:00
- name: Deploy systemd service file
2021-09-30 02:30:42 +02:00
become: true
ansible.builtin.template:
src: 'templates/acmetool.service.j2'
dest: '/lib/systemd/system/acmetool.service'
owner: 'root'
group: 'root'
mode: '0644'
2022-10-25 22:51:18 +02:00
- name: Force systemd to reread configs and start acmetool
2021-10-13 22:08:32 +02:00
become: true
2021-09-30 02:30:42 +02:00
ansible.builtin.systemd:
daemon_reload: true