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/fetch/cleanup.yml

17 lines
310 B
YAML

- name: Cleanup user account
hosts: testhost
tasks:
- name: remove test user
user:
name: fetcher
state: absent
remove: yes
force: yes
- name: delete temporary directory
file:
path: "{{ remote_tmp_dir }}"
state: absent
no_log: yes