summaryrefslogtreecommitdiffstats
path: root/roles/IMAP-proxy
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-07-02 18:37:50 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:52:16 +0200
commita9af50cc3e54389281caa0a353ddf82e10069425 (patch)
tree3e53bcc3a662aeb94367993ee71ace21c7195e80 /roles/IMAP-proxy
parentaa6628dd67914c2849781cfb738c7389434c9608 (diff)
Don't auto-create home directories when adding system users.
Unlike adduser(8), ansible's 'user' module copies skeletal configuration files even for system users (unless called with createhome=no).
Diffstat (limited to 'roles/IMAP-proxy')
-rw-r--r--roles/IMAP-proxy/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/IMAP-proxy/tasks/main.yml b/roles/IMAP-proxy/tasks/main.yml
index 73a0dee..41bb7a3 100644
--- a/roles/IMAP-proxy/tasks/main.yml
+++ b/roles/IMAP-proxy/tasks/main.yml
@@ -7,6 +7,7 @@
- name: Create a user 'imapproxy'
user: name=imapproxy system=yes
+ createhome=no
home=/home/imapproxy
shell=/bin/false
password=!