Move the pkgdb-sync-bugzilla.cron to pkgdb02 and ansible

This commit is contained in:
Pierre-Yves Chibon 2014-08-18 12:46:19 +02:00
parent 63217d3711
commit afe1f6217d
2 changed files with 13 additions and 0 deletions

View file

@ -48,6 +48,15 @@
notify:
- restart apache
- name: Install the pkgdb <-> bugzilla sync script
when: inventory_hostname.startswith('pkgdb02')
template: src={{ item.file }}
dest={{ item.location }}/{{ item.file }}
with_items:
- { file: 'pkgdb-sync-bugzilla.cron', location: /etc/cron.d }
tags:
- config
- name: set sebooleans so pkgdb2 can talk to the db
action: seboolean name=httpd_can_network_connect_db
state=true