diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-11-02 01:20:30 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-11-02 01:20:30 +0100 |
commit | 078ccb09d1192a879a6dd47b3ec483717ee1c327 (patch) | |
tree | 7a2ab4991f17dad370a0864990d55a3d6b3cc065 /roles/wiki/tasks/main.yml | |
parent | 1091c452815af98ebb34ef2ae02ef9baba7d9567 (diff) |
Wiki: Install dependencies for static web content.
See https://git.fripost.org/fripost-wiki/commit/?id=72983121e68289a7497927417e52a8ec5f16aa7b .
Diffstat (limited to 'roles/wiki/tasks/main.yml')
-rw-r--r-- | roles/wiki/tasks/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/wiki/tasks/main.yml b/roles/wiki/tasks/main.yml index 9d436a9..74c11f8 100644 --- a/roles/wiki/tasks/main.yml +++ b/roles/wiki/tasks/main.yml @@ -1,33 +1,37 @@ - name: Install ikiwiki apt: pkg={{ packages }} vars: packages: - ikiwiki - libauthen-passphrase-perl - highlight-common - libhighlight-perl - libimage-magick-perl - libmail-sendmail-perl - libnet-dns-sec-perl - fcgiwrap - pandoc + ### + - fonts-font-awesome + - libjs-bootstrap4 + - libjs-jquery - name: Stop and disable fcgiwrap socket service: name=fcgiwrap.socket state=stopped enabled=false - name: Stop fcgiwrap service service: name=fcgiwrap.service state=stopped - name: Create a user 'ikiwiki' user: name=ikiwiki system=yes home=/var/lib/ikiwiki shell=/usr/sbin/nologin password=! state=present generate_ssh_key=yes ssh_key_comment=ikiwiki@{{ ansible_fqdn }} - name: Create directory ~ikiwiki/IkiWiki/Plugin file: path=/var/lib/ikiwiki/IkiWiki/Plugin state=directory owner=ikiwiki group=ikiwiki |