Remove old pkgdb cronjobs.
This commit is contained in:
parent
11e384583f
commit
31aa4768de
1 changed files with 5 additions and 4 deletions
|
@ -61,16 +61,17 @@
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
|
||||||
- name: Install the pkgdb cron jobs - sync bugzilla, update pkg info
|
- name: Remove old cronjobs.
|
||||||
when: inventory_hostname.startswith('pkgdb02')
|
file:
|
||||||
template: src={{ item.file }}
|
path: "{{ item.location }}/{{ item.file }}"
|
||||||
dest={{ item.location }}/{{ item.file }}
|
state: absent
|
||||||
with_items:
|
with_items:
|
||||||
- { file: 'pkgdb-sync-bugzilla.cron', location: /etc/cron.d }
|
- { file: 'pkgdb-sync-bugzilla.cron', location: /etc/cron.d }
|
||||||
- { file: 'pkgdb_update_package_info.cron', location: /etc/cron.d }
|
- { file: 'pkgdb_update_package_info.cron', location: /etc/cron.d }
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- pkgdb
|
- pkgdb
|
||||||
|
- cron
|
||||||
|
|
||||||
- name: update the base_url in update_package_info
|
- name: update the base_url in update_package_info
|
||||||
command: sed -i -e 's|https://dl.fedoraproject.org|http://dl.phx2.fedoraproject.org|' /usr/bin/update_package_info.py
|
command: sed -i -e 's|https://dl.fedoraproject.org|http://dl.phx2.fedoraproject.org|' /usr/bin/update_package_info.py
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue