1
0
Fork 0
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:
A Holt 2020-06-04 15:22:21 -04:00 committed by GitHub
parent f7c7ae4523
commit 0a274b4168
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }})