Closed NickVolynkin closed 6 years ago
@popstas looks like a good case for include {{ ansible_system }}.yml
.
Why we should using file? Just one system dependent variable at this time and one task in future (brew install). I think that now is better to implement it with when
.
Agreed, hardcoded 'linux' is bad, but you should use
ansible_system
instead ofansible_os_family
.I don't provision macOS systems as frequently as linux, but I think that using
brew install fzf
is more reliable way.