1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic_archiver.git synced 2024-08-16 10:09:49 +02:00
ansible_role_restic_archiver/handlers/main.yml

18 lines
416 B
YAML

---
- name: Run systemctl daemon-reload
become: true
ansible.builtin.systemd:
daemon_reload: true
- name: Run systemctl start restic-archiver.timer
become: true
ansible.builtin.systemd:
name: restic-archiver.timer
enabled: true
state: started
- name: Run systemctl enable restic-archiver.service
become: true
ansible.builtin.systemd:
name: restic-archiver.service
enabled: true