retrace: cherry pick upstream a3db712
This commit is contained in:
parent
4cf99be1d4
commit
5ed5fb081d
1 changed files with 10 additions and 0 deletions
|
@ -4,6 +4,11 @@
|
||||||
name: podman
|
name: podman
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Stop httpd to allow retrace user modification
|
||||||
|
service:
|
||||||
|
name: httpd
|
||||||
|
state: stopped
|
||||||
|
|
||||||
- name: Set home directory for retrace user
|
- name: Set home directory for retrace user
|
||||||
user:
|
user:
|
||||||
name: retrace
|
name: retrace
|
||||||
|
@ -58,3 +63,8 @@
|
||||||
command: usermod retrace --add-subgids "{{ rs_subgid_min }}-{{ rs_subgid_max }}"
|
command: usermod retrace --add-subgids "{{ rs_subgid_min }}-{{ rs_subgid_max }}"
|
||||||
|
|
||||||
when: '"retrace" not in retrace_subgid.stdout'
|
when: '"retrace" not in retrace_subgid.stdout'
|
||||||
|
|
||||||
|
- name: Start httpd afterretrace user modification
|
||||||
|
service:
|
||||||
|
name: httpd
|
||||||
|
state: started
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue