blob: f58c0317fbd47fcfe051e50fc9329235858a5a87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
- name: Nuke the mote cache and restart the services to rebuild it.
hosts: value:value-stg
user: root
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- include: "{{ handlers_path }}/restart_services.yml"
tasks:
- file: dest=/var/cache/httpd/mote/cache.json state=absent
- service: name="httpd" state=restarted
- service: name="mote-updater" state=restarted
|