Remove MacOSX-specific cleanup for unarchive test

pull/77736/head
s-hertel 3 years ago committed by Matt Clay
parent 5753fd2d8d
commit 3f4cacd355

@ -79,9 +79,10 @@
become: yes become: yes
become_user: root become_user: root
- name: Remove user home directory on macOS - name: ensure home directory has been removed
file: stat:
path: /Users/unarchivetest1 path: "{{ user.home }}"
state: absent become: yes
become: no become_user: root
when: ansible_facts.distribution == 'MacOSX' register: home_dir
failed_when: home_dir.stat.exists

Loading…
Cancel
Save