Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Implicit localhost won't load host_vars/localhost/*.yml
18 views
Skip to first unread message
Capi Etheriel
unread,
Dec 8, 2014, 5:18:38 PM
12/8/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
I'd expect implicit localhost to behave just like any other host when it comes to loading variables from host_vars.
But it doesn't load vars from host_vars/localhost.yml nor host_vars/localhost/somefile.yml
Of course, it behaves as expected when it comes to group_vars (it loads group_vars/* but no other group).
I'm coming from
https://github.com/ansible/ansible/issues/9750
where I've added a link to a commit from @sivel that solves the issue.
https://github.com/sivel/ansible/compare/ansible:devel...sivel:implicit-localhost-hostvars
Reply all
Reply to author
Forward
0 new messages