summaryrefslogtreecommitdiffstats
path: root/roles/wiki/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-05-22 17:39:45 +0200
committerGuilhem Moulin <guilhem@fripost.org>2016-05-22 17:54:06 +0200
commitc3adab74406a434f8d6bb23c15b76c8f9f493442 (patch)
treee9d2f3464a067bee6025671dbcc93239a4843615 /roles/wiki/tasks
parent0ee5bf050a9a673d61485426ce62c8efcbb7bcc6 (diff)
wiki: replace the formatting engine from Markdown.pl to pandoc
Using https://raw.githubusercontent.com/sciunto-org/ikiwiki-pandoc/master/pandoc.pm at revision 60fd07b46c750e0891e3474f75e26076348b66c5
Diffstat (limited to 'roles/wiki/tasks')
-rw-r--r--roles/wiki/tasks/main.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/roles/wiki/tasks/main.yml b/roles/wiki/tasks/main.yml
index 3c7ac6f..5713513 100644
--- a/roles/wiki/tasks/main.yml
+++ b/roles/wiki/tasks/main.yml
@@ -9,6 +9,7 @@
- libmail-sendmail-perl
- libnet-dns-sec-perl
- fcgiwrap
+ - pandoc
- name: Create a user 'ikiwiki'
user: name=ikiwiki system=yes
@@ -28,11 +29,14 @@
owner=ikiwiki group=ikiwiki
mode=0755
-- name: Copy isWebsite plugin
- copy: src=var/lib/ikiwiki/IkiWiki/Plugin/isWebsite.pm
- dest=/var/lib/ikiwiki/IkiWiki/Plugin/isWebsite.pm
+- name: Copy ikiwiki plugins
+ copy: src=var/lib/ikiwiki/IkiWiki/Plugin/{{ item }}.pm
+ dest=/var/lib/ikiwiki/IkiWiki/Plugin/{{ item }}.pm
owner=root group=root
mode=0644
+ with_items:
+ - isWebsite
+ - pandoc
notify:
- Refresh ikiwiki