summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/install_cronie/tasks/main.yml11
-rw-r--r--roles/install_fastd/tasks/main.yml11
2 files changed, 11 insertions, 11 deletions
diff --git a/roles/install_cronie/tasks/main.yml b/roles/install_cronie/tasks/main.yml
new file mode 100644
index 0000000..97a2ca8
--- /dev/null
+++ b/roles/install_cronie/tasks/main.yml
@@ -0,0 +1,11 @@
+---
+- name: install cronie
+ pacman:
+ name: cronie
+ state: present
+
+- name: start and enable cronie
+ systemd:
+ name: cronie.service
+ enabled: yes
+ state: started
diff --git a/roles/install_fastd/tasks/main.yml b/roles/install_fastd/tasks/main.yml
index b5c8671..c6434d0 100644
--- a/roles/install_fastd/tasks/main.yml
+++ b/roles/install_fastd/tasks/main.yml
@@ -63,17 +63,6 @@
src: fastd-api.php
dest: /etc/fastd/ffmyk/bin/fastd-api.php
-- name: install cronie
- pacman:
- name: cronie
- state: present
-
-- name: start and enable cronie
- systemd:
- name: cronie.service
- enabled: yes
- state: started
-
- name: setup cronjob for fastd-api
cron:
name: fastd-api