revert changes

This commit is contained in:
Frank Dornheim 2023-03-15 21:06:16 +01:00
parent 6376bbf2fb
commit dfeec30910

View File

@ -20,6 +20,11 @@
- name: Populate service facts
ansible.builtin.service_facts:
# If the role is running and the repo is not yet initialized, an error will occur.
# Therefore the service is stopped by default and must be started manually.
- name: Stop fresh installed backup.timer and backup.service
when: ('backup.service' not in services)
block:
- name: Stop borgmatic services
ansible.builtin.systemd:
name: "{{ item }}"