From d02c2ea2d350082864633a9915901419c2c4bff3 Mon Sep 17 00:00:00 2001 From: Florian Pritz <bluewind@xinu.at> Date: Sat, 8 Oct 2016 15:26:16 +0200 Subject: [PATCH] soyuz: Add crond Users want it and it isn't really high maintenance so whatever. We will still use timers for system related jobs. Signed-off-by: Florian Pritz <bluewind@xinu.at> --- playbooks/soyuz.yml | 1 + roles/crond/tasks/main.yml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 roles/crond/tasks/main.yml diff --git a/playbooks/soyuz.yml b/playbooks/soyuz.yml index 9a8e2d829..60d0719ce 100644 --- a/playbooks/soyuz.yml +++ b/playbooks/soyuz.yml @@ -20,3 +20,4 @@ - { role: sogrep, tags: ['sogrep'] } - { role: archbuild, tags: ['archbuild'] } - { role: public_html, public_domain: "pkgbuild.com", tags: ['public_html', 'nginx'] } + - { role: crond, tags: ['crond'] } diff --git a/roles/crond/tasks/main.yml b/roles/crond/tasks/main.yml new file mode 100644 index 000000000..f49087e64 --- /dev/null +++ b/roles/crond/tasks/main.yml @@ -0,0 +1,8 @@ +--- + +- name: install cronie + pacman: name=cronie state=present + +- name: activate cronie.service + service: name=cronie enabled=yes state=started + -- GitLab