mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
httpd: preserve www-data membership in group shadow
This commit is contained in:
parent
f7c7ae4523
commit
0a274b4168
1 changed files with 2 additions and 4 deletions
|
@ -100,13 +100,11 @@
|
|||
- name: 'Create group: admin'
|
||||
group:
|
||||
name: admin
|
||||
state: present
|
||||
|
||||
- name: Add user {{ apache_user }} (from variable apache_user) to group admin
|
||||
- name: Add user {{ apache_user }} (from variable apache_user) to groups admin,shadow
|
||||
user:
|
||||
name: "{{ apache_user }}"
|
||||
groups: admin
|
||||
state: present
|
||||
groups: admin,shadow # 2020-06-04: shadow nec for Admin Console login (this line had been clobbering user www-data's membership in group shadow, as set earlier by nginx/tasks/install.yml, SEE #2431)
|
||||
createhome: no
|
||||
|
||||
- name: Create Apache dir /var/log/{{ apache_service }} ({{ apache_user }}:{{ apache_user }})
|
||||
|
|
Loading…
Add table
Reference in a new issue