As specified here: https://github.com/ansible/ansible/issues/25321
we must now specify the inventory type, making yaml based inventory a higher precedence. I found the new cli env vars here: https://github.com/ansible/ansible/blob/stable-2.4/lib/ansible/config/base.yml I'm trying to override this via the env var to no avail: ANSIBLE_INVENTORY_ENABLED='script,yaml,ini' ansible web1 -i inventory/ -m raw -a uptime If I put garbage in there, it shows that it's loading them though: ANSIBLE_INVENTORY_ENABLED='[a,i,o]' ansible web1 -i inventory/ -m raw -a uptime > [WARNING]: Failed to load inventory plugin, skipping [a > [WARNING]: Failed to load inventory plugin, skipping i > [WARNING]: Failed to load inventory plugin, skipping o] -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1009e2e5-f85c-4865-aaea-8ce9d89487b8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
