summaryrefslogtreecommitdiffstats
path: root/roles/wiki/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/wiki/tasks/main.yml')
-rw-r--r--roles/wiki/tasks/main.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/wiki/tasks/main.yml b/roles/wiki/tasks/main.yml
index 0fa2336..35c297d 100644
--- a/roles/wiki/tasks/main.yml
+++ b/roles/wiki/tasks/main.yml
@@ -35,9 +35,10 @@
dest: "{{ ikiwiki_path }}/emacsconf.setup"
owner: ikiwiki
- name: Copy Ikiwiki plugins
+ tags: wiki-plugins
template:
src: "{{ item }}"
- dest: "{{ ikiwiki_plugin_path }}"
+ dest: "{{ ikiwiki_plugin_path }}/{{ item }}"
loop:
- copyright.pm
- htmlscrubber.pm
@@ -45,12 +46,14 @@
- include: docker.yml
when: docker is true
- name: Chown all the files to ikiwiki
+ tags: wiki-plugins
file:
dest: "{{ ikiwiki_path }}"
owner: ikiwiki
group: ikiwiki
recurse: true
- name: Regenerate all the files
+ tags: wiki-regenerate, wiki-plugins
shell: ikiwiki --setup "{{ ikiwiki_path }}/emacsconf.setup" --rebuild --wrappers
register: output
- debug: