issue #477: Ansible 2.3 did not support gather_facts min subset.

issue510
David Wilson 6 years ago
parent b0ec398755
commit 7d1b0e0807

@ -8,12 +8,12 @@
- name: "Find out root's homedir." - name: "Find out root's homedir."
# Runs first because it blats regular Ansible facts with junk, so # Runs first because it blats regular Ansible facts with junk, so
# non-become run fixes that up. # non-become run fixes that up.
setup: gather_subset=min setup:
become: true become: true
register: root_facts register: root_facts
- name: "Find regular homedir" - name: "Find regular homedir"
setup: gather_subset=min setup:
register: user_facts register: user_facts
# ------------------------ # ------------------------

Loading…
Cancel
Save