mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-30 08:50:55 +08:00
retrace: cherry pick upstream a3db712
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
4cf99be1d4
commit
5ed5fb081d
@@ -4,6 +4,11 @@
|
||||
name: podman
|
||||
state: present
|
||||
|
||||
- name: Stop httpd to allow retrace user modification
|
||||
service:
|
||||
name: httpd
|
||||
state: stopped
|
||||
|
||||
- name: Set home directory for retrace user
|
||||
user:
|
||||
name: retrace
|
||||
@@ -58,3 +63,8 @@
|
||||
command: usermod retrace --add-subgids "{{ rs_subgid_min }}-{{ rs_subgid_max }}"
|
||||
|
||||
when: '"retrace" not in retrace_subgid.stdout'
|
||||
|
||||
- name: Start httpd afterretrace user modification
|
||||
service:
|
||||
name: httpd
|
||||
state: started
|
||||
|
||||
Reference in New Issue
Block a user