Deploy the stg specific genacls.pkgdb in stg

This commit is contained in:
Pierre-Yves Chibon 2017-02-13 10:51:18 +01:00
parent 5128d7e6f3
commit ef99219f5e

View file

@ -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