summaryrefslogtreecommitdiffstats
path: root/roles/wiki/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-09-29 01:29:54 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-09-29 01:29:54 +0200
commitbc70532fac05273647092617733829545a3b8f0d (patch)
tree7bd643e59825236680d153e2f46b234e9c06892f /roles/wiki/tasks
parent226daf830d217b87a06d652dd4ad6e775897d966 (diff)
ikiwiki: Enable DNSSEC and email notification.
Diffstat (limited to 'roles/wiki/tasks')
-rw-r--r--roles/wiki/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/wiki/tasks/main.yml b/roles/wiki/tasks/main.yml
index 7aa4d1d..2b7a11b 100644
--- a/roles/wiki/tasks/main.yml
+++ b/roles/wiki/tasks/main.yml
@@ -1,27 +1,29 @@
- name: Install ikiwiki
apt: pkg={{ item }}
with_items:
- ikiwiki
- highlight-common
- libhighlight-perl
- libimage-magick-perl
+ - libmail-sendmail-perl
+ - libnet-dns-sec-perl
- fcgiwrap
- 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: Add 'www-data' to the group 'ikiwiki'
user: name=www-data groups=ikiwiki append=yes
- name: Create directory ~ikiwiki/IkiWiki/Plugin
file: path=/var/lib/ikiwiki/IkiWiki/Plugin
state=directory
owner=ikiwiki group=ikiwiki
mode=0755