From ef99219f5e1029b250a733121668c7ff52cf574f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 13 Feb 2017 10:51:18 +0100 Subject: [PATCH] Deploy the stg specific genacls.pkgdb in stg --- roles/distgit/tasks/main.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index 10e6d277c1..d5b2a329cc 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -240,20 +240,20 @@ owner=root group=root mode=0755 with_items: - genacls.pkgdb - #when: env != "staging" + when: env != "staging" tags: - config - distgit -#- name: install the genacls.pkgdb scripts -# template: src={{item}} dest=/usr/local/bin/genacls.pkgdb -# owner=root group=root mode=0755 -# with_items: -# - genacls.pkgdb.stg -# when: env == "staging" -# tags: -# - config -# - distgit +- name: install the genacls.pkgdb scripts + template: src={{item}} dest=/usr/local/bin/genacls.pkgdb + owner=root group=root mode=0755 + with_items: + - genacls.pkgdb.stg + when: env == "staging" + tags: + - config + - distgit - name: Add the genacl daily cron job copy: src=genacls.cron dest=/etc/cron.d/genacls.cron