Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use ansible_os_family instead of hardcoded linux #17

Closed
wants to merge 1 commit into from

Conversation

NickVolynkin
Copy link

No description provided.

@popstas
Copy link
Contributor

popstas commented Jun 17, 2017

Agreed, hardcoded 'linux' is bad, but you should use ansible_system instead of ansible_os_family.

I don't provision macOS systems as frequently as linux, but I think that using brew install fzf is more reliable way.

@NickVolynkin
Copy link
Author

@popstas looks like a good case for include {{ ansible_system }}.yml.

@popstas
Copy link
Contributor

popstas commented Jun 19, 2017

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.

@popstas popstas closed this Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants