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

How is defined ansible_os_family? #19

Closed
braveadmin opened this issue Jan 17, 2017 · 3 comments
Closed

How is defined ansible_os_family? #19

braveadmin opened this issue Jan 17, 2017 · 3 comments

Comments

@braveadmin
Copy link

in the main inside tasks there is a include_vars: "{{ ansible_os_family }}.yml"
but i can't find this variable anywhere and indeed the deploy is failing.
where can i find it?

many thanks

@geerlingguy
Copy link
Owner

@braveadmin - That is one of Ansible's global vars that's set up during the 'gather_facts' operation. Do you have gather_facts: no in your playbook? If so, that variable may never be set.

Also, what's the specific error you're getting? It could be something else too...

@braveadmin
Copy link
Author

Thanks Geerling, the problem was solved with gather_facts variable, i just forgot to respond :)

@geerlingguy
Copy link
Owner

Awesome!

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

No branches or pull requests

2 participants