|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|
# ------------------------
|
|
|
|
# ------------------------
|
|
|
|