Move the pkgdb-sync-bugzilla.cron to pkgdb02 and ansible
This commit is contained in:
parent
63217d3711
commit
afe1f6217d
2 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue