1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
- 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