summaryrefslogtreecommitdiffstats
path: root/roles/wiki/handlers/main.yml
blob: ac9ad2b95843d295e5b7f9ef7e8f06957c07b4e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: Restart Nginx
  service: name=nginx state=restarted

- name: Refresh ikiwiki
  become_user: ikiwiki
  command: ikiwiki --setup /var/lib/ikiwiki/fripost-wiki.setup --refresh --wrappers

- name: systemctl daemon-reload
  command: /bin/systemctl daemon-reload

- name: Stop ikiwiki
  service: name=ikiwiki.service state=stopped

- name: Restart ikiwiki
  service: name=ikiwiki.socket state=restarted