From c87dd545742b8b04ba651d8c2bcab0006a211334 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Thu, 22 Sep 2016 15:09:23 +0200
Subject: [PATCH] roles/archbuild: Split timers and mounts

---
 roles/archbuild/tasks/main.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/roles/archbuild/tasks/main.yml b/roles/archbuild/tasks/main.yml
index b6e30c45b..680dac594 100644
--- a/roles/archbuild/tasks/main.yml
+++ b/roles/archbuild/tasks/main.yml
@@ -24,13 +24,11 @@
   notify:
     - daemon reload
 
-- name: start and enable archbuild units
+- name: start and enable archbuild mounts
   service: name={{ item }} enabled=yes state=started
   with_items:
     - var-lib-archbuild.mount
     - var-lib-archbuilddest.mount
-    - clean-chroots.timer
-    - clean-dests.timer
 
 - name: create archbuilddest
   file:
@@ -58,6 +56,12 @@
        'group::r-x',
        'other::r-x']
 
+- name: start and enable archbuild units
+  service: name={{ item }} enabled=yes state=started
+  with_items:
+    - clean-chroots.timer
+    - clean-dests.timer
+
 - name: set makepkg.conf vars
   lineinfile:
     dest: /etc/makepkg.conf
-- 
GitLab