Brian Coca
unread,Dec 18, 2018, 2:27:22 PM12/18/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
1) no clue, that would not work with the plugin Ansible ships with
(just tested and vmware plugin skips that file)
2) you are confusing inventory plugins and inventory scripts, the
plugins require a 'source', one of the plugins is the 'script' plugin,
which uses 'inventory scripts' ... these need to be executable for the
'script' plugin to use.
So executable bit depends on what the inventory plugin requires,
script is the only one that ships with Ansible that requires this.
3) yeah, /etc/ansible/hosts is the default, so if no -i is supplied,
that will be used
when using -i /direcotry/ all the files in the directory will be
looked at for execution, each file will be passed to each active
inventory plugin and the plugin will decide if it takes the file
(needs to meet certain criteria) or passes, if it takes the file it
will attempt to parse it, if it fails, the next plugin will try.
----------
Brian Coca