mirror of https://github.com/ansible/ansible.git
[stable-2.11] file integration test - cleanup testing users and group (#75037)
(cherry picked from commit 0467b1d477)
Co-authored-by: Sam Doran <sdoran@redhat.com>
pull/75239/head
parent
b3115e3c16
commit
6d2e8f7729
@ -0,0 +1,19 @@
|
||||
- name: remove users
|
||||
user:
|
||||
name: "{{ item }}"
|
||||
state: absent
|
||||
remove: yes
|
||||
loop:
|
||||
- test1
|
||||
- test_uid
|
||||
- nonexistent
|
||||
- "{{ remote_unprivileged_user }}"
|
||||
|
||||
- name: remove groups
|
||||
group:
|
||||
name: "{{ item }}"
|
||||
state: absent
|
||||
loop:
|
||||
- test1
|
||||
- test_gid
|
||||
- nonexistent1
|
||||
Loading…
Reference in New Issue