ok lets see if I can do a cron job without breaking stuff
This commit is contained in:
parent
45e512ab3f
commit
52ae7d3ccb
2 changed files with 22 additions and 0 deletions
|
@ -72,3 +72,25 @@
|
|||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
||||
- name: secondary download virt special jobs
|
||||
hosts: download-ibiblio
|
||||
user: root
|
||||
|
||||
gather_facts: True
|
||||
accelerate: "{{ accelerated }}"
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "{{ private }}/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
||||
tasks:
|
||||
- name: put in hourly cron job for syncing
|
||||
action: copy src="{{ files }}/download/cron-hourly-sync.sh" dest=/etc/cron.hourly/sync-mirror.sh owner=root group=root mode=755
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue