[TIDY] Move to ansible_facts dict instead of injected variables
This commit is contained in:
parent
cdd9bc58d2
commit
ccf581edaa
6 changed files with 20 additions and 20 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# Tinc VPN Hostfile Distribution
|
||||
|
||||
- name: Distribute - Set different base dir for macOS
|
||||
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Darwin"
|
||||
when: (override_os_family is defined) | ternary(override_os_family,ansible_facts['os_family']) == "Darwin"
|
||||
ansible.builtin.set_fact:
|
||||
tinc_base_dir: /usr/local/etc/tinc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue