summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-12-23 13:21:57 +0200
committerLars Wirzenius <liw@liw.fi>2023-12-23 13:21:57 +0200
commit6e1ae4ea3b21535dbffb3bd66099059ee1339773 (patch)
tree70a6e23d0a22eaaa6cdf652f04d9059b68ec3684
parent220467147463e5ef31c286b570a0954351409aeb (diff)
downloadambient-build-vm-6e1ae4ea3b21535dbffb3bd66099059ee1339773.tar.gz
feat(ikiwiki.yml): install the Ikiwiki Pandoc plugin
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--ikiwiki.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/ikiwiki.yml b/ikiwiki.yml
index ded7bd7..e41143b 100644
--- a/ikiwiki.yml
+++ b/ikiwiki.yml
@@ -51,5 +51,19 @@
- perlmagick
- plantuml
+ - name: "clone ikiwiki plugin for Pandoc"
+ git:
+ repo: https://github.com/dubiousjim/pandoc-iki
+ dest: /root/pandoc-iki
+
+ - name: "create ikiwiki plugin directory"
+ file:
+ state: directory
+ path: /root/.ikiwiki/IkiWiki/Plugin
+
+ - name: "install Pandoc plugin for ikiwiki"
+ shell: |
+ cp /root/pandoc-iki/pandoc.pm /root/.ikiwiki/IkiWiki/Plugin/pandoc.pm
+
vars:
ansible_python_interpreter: /usr/bin/python3