summaryrefslogtreecommitdiffstats
path: root/roles/lists/tasks/mlmmj.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lists/tasks/mlmmj.yml')
-rw-r--r--roles/lists/tasks/mlmmj.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/lists/tasks/mlmmj.yml b/roles/lists/tasks/mlmmj.yml
index 45fc8f4..aeaaedc 100644
--- a/roles/lists/tasks/mlmmj.yml
+++ b/roles/lists/tasks/mlmmj.yml
@@ -1,23 +1,24 @@
- name: Install MLMMJ
- apt: pkg={{ item }}
- with_items:
+ apt: pkg={{ packages }}
+ vars:
+ packages:
- mlmmj
# Weird the debian package doesn't do it by itself...
- name: Create a user 'mlmmj'
user: name=mlmmj system=yes
createhome=no
home=/var/spool/mlmmj
shell=/usr/sbin/nologin
password=!
state=present
- name: Add 'www-data' to the group 'mlmmj'
user: name=www-data groups=mlmmj append=yes
- name: Create a home directory for user 'mlmmj'
file: path=/var/spool/mlmmj
state=directory
owner=mlmmj group=mlmmj
mode=0700