diff options
-rw-r--r-- | roles/install_cronie/tasks/main.yml | 11 | ||||
-rw-r--r-- | roles/install_fastd/tasks/main.yml | 11 | ||||
-rw-r--r-- | setup_fastd.yml | 1 |
3 files changed, 12 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 diff --git a/setup_fastd.yml b/setup_fastd.yml index 72bb431..2ddf41a 100644 --- a/setup_fastd.yml +++ b/setup_fastd.yml @@ -8,6 +8,7 @@ - configure_sysctl - configure_iptables - install_ssmtp + - install_cronie - install_php - install_nginx - install_ntp |