summaryrefslogtreecommitdiffstats
path: root/roles/IMAP-proxy/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-05-22 23:54:40 +0200
committerGuilhem Moulin <guilhem@fripost.org>2016-05-22 23:54:40 +0200
commit7525e4c5dedea932491c80c3a5b597435a1e351f (patch)
tree7f5fd9c87660f8bbb850add8536f47074d361ff9 /roles/IMAP-proxy/tasks
parent73b2a602ee85706b2a1797632142058c6253ea5d (diff)
Dovecot imapc: change imapproxy's homedir from /home/imapproxy to /var/lib/imapproxy.
Diffstat (limited to 'roles/IMAP-proxy/tasks')
-rw-r--r--roles/IMAP-proxy/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/IMAP-proxy/tasks/main.yml b/roles/IMAP-proxy/tasks/main.yml
index 7fcf91d..579fc7e 100644
--- a/roles/IMAP-proxy/tasks/main.yml
+++ b/roles/IMAP-proxy/tasks/main.yml
@@ -8,13 +8,13 @@
- name: Create a user 'imapproxy'
user: name=imapproxy system=yes
createhome=no
- home=/home/imapproxy
+ home=/var/lib/imapproxy
shell=/usr/sbin/nologin
password=!
state=present
- name: Create a home directory for user 'imapproxy'
- file: path=/home/imapproxy
+ file: path=/var/lib/imapproxy
state=directory
owner=imapproxy group=imapproxy
mode=0700