forked from evolix/ansible-roles
evoadmin-mail: fix shell and home for evoadmin-mail users
This commit is contained in:
parent
3ac2a9b730
commit
d5ffb3c472
|
@ -5,6 +5,7 @@
|
|||
name: "{{ evoadminmail_username }}"
|
||||
comment: "Evoadmin Web Account"
|
||||
home: "{{ evoadminmail_home_dir}}"
|
||||
shell: /bin/bash
|
||||
password: "!"
|
||||
|
||||
- name: Create log/ directory
|
||||
|
@ -23,6 +24,9 @@
|
|||
- name: "Create www-evoadmin (Debian 9 or later)"
|
||||
user:
|
||||
name: "www-{{ evoadminmail_username }}"
|
||||
home: "{{ evoadminmail_home_dir}}/www"
|
||||
shell: /bin/bash
|
||||
createhome: no
|
||||
when: ansible_distribution_major_version | version_compare('9', '>=')
|
||||
|
||||
- name: Install Git
|
||||
|
|
Loading…
Reference in a new issue