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_user: root
- name: Remove user home directory on macOS
file:
path: /Users/unarchivetest1
state: absent
become: no
when: ansible_facts.distribution == 'MacOSX'
- name: ensure home directory has been removed
stat:
path: "{{ user.home }}"
become: yes
become_user: root
register: home_dir
failed_when: home_dir.stat.exists

Loading…
Cancel
Save