Purge cache after running the role

This commit is contained in:
phil 2023-11-01 17:12:56 +01:00
parent b8b8ebf00c
commit b488cda3e9
2 changed files with 11 additions and 2 deletions

View file

@ -28,3 +28,11 @@
ansible.builtin.import_tasks: server.yml
delegate_to: "{{ cmdb.wiki_server }}"
tags: server
- name: Purging Dokuwiki cache
ansible.builtin.file:
path: "{{ cmdb.wiki_conf_file_path }}"
state: touch
run_once: true
delegate_to: "{{ cmdb.wiki_server }}"
tags: purge_cache