From f01c65bf47700e9529b4598f7b6a3dfef29cfad8 Mon Sep 17 00:00:00 2001
From: Hannes Braun <hannes.braun@slub-dresden.de>
Date: Tue, 18 Jun 2024 14:33:14 +0200
Subject: [PATCH] Removed systemd unit creation completly, as it didn't work as
 intended

---
 ansible.cfg       | 2 +-
 defaults/main.yml | 4 +---
 requirements.yml  | 5 -----
 tasks/main.yml    | 6 +-----
 4 files changed, 3 insertions(+), 14 deletions(-)
 delete mode 100644 requirements.yml

diff --git a/ansible.cfg b/ansible.cfg
index 8c7ffdb..ede254c 100644
--- a/ansible.cfg
+++ b/ansible.cfg
@@ -1,2 +1,2 @@
 [defaults]
-#roles_path = ../:
+roles_path = ../:
diff --git a/defaults/main.yml b/defaults/main.yml
index 7e358e3..71739ea 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -9,6 +9,4 @@ simple_backup_config:
   nfs_mount_path: # The path where the nfs will be mounted
   nfs_server: # The nfs server ip address
   nfs_volume_path: # The volume the nfs is placed on the nfs server
-
-timers:
-  simple-backup:
+  
\ No newline at end of file
diff --git a/requirements.yml b/requirements.yml
deleted file mode 100644
index 5ca95f6..0000000
--- a/requirements.yml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-collections:
-  - name: role-systemd-timer
-    source: https://git.slub-dresden.de/slub-referat-2.5/ansible/role-systemd-timer.git
-    type: git
diff --git a/tasks/main.yml b/tasks/main.yml
index 703a723..7ee0158 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -22,8 +22,4 @@
     group: root
     mode: '0644'
   become: true
-  
-- name: Create systemd service and timer units
-  ansible.builtin.include_role:
-    name: role-systemd-timer
-  with_dict: timers
+  
\ No newline at end of file
-- 
GitLab