mirror of https://github.com/ansible/ansible.git
file integration test - cleanup testing users and group
parent
5b8fb4dcd3
commit
0467b1d477
@ -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