2015-06-24 22:15:23 +00:00
|
|
|
- name: Nuke the mote cache and restart the services to rebuild it.
|
2016-02-02 21:03:19 +00:00
|
|
|
hosts: value:value-stg
|
2015-06-24 22:15:23 +00:00
|
|
|
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:
|
2017-10-15 20:33:11 +00:00
|
|
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
2015-06-24 22:15:23 +00:00
|
|
|
|
|
|
|
tasks:
|
|
|
|
- file: dest=/var/cache/httpd/mote/cache.json state=absent
|
|
|
|
- service: name="httpd" state=restarted
|
|
|
|
- service: name="mote-updater" state=restarted
|