You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/file/handlers/main.yml

21 lines
320 B
YAML

- name: remove users
user:
name: "{{ item }}"
state: absent
remove: yes
force: yes
loop:
- test1
- test_uid
- nonexistent
- "{{ remote_unprivileged_user }}"
- name: remove groups
group:
name: "{{ item }}"
state: absent
loop:
- test1
- test_gid
- nonexistent1