You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ansible.inventory.path should be changed to ansible.inventory, making Vagrant pass the --inventory <...> argument. This would match the same behavior as Ansible itself does (the inventory-file argument is deprecated anyway).
Quote from Ansible help:
-i INVENTORY, --inventory=INVENTORY, --inventory-file=INVENTORY
specify inventory host path or comma separated host
list. --inventory-file is deprecated
Actual behavior
When using ansible.inventory.path with an IP, Vagrant looks up the inventory file and changes the ansible-playbook argument to --limit=<hostname>". Although this works fine, the description of ansible.inventory.path and Vagrant's actual behavior is confusing.
The text was updated successfully, but these errors were encountered:
jzielke84
changed the title
ansible.inventory should contain IP
ansible.inventory.path behavior should change
Jul 3, 2019
Vagrant version
2.2.4
Host operating system
Mac OS X 10.14.5 running latest ohmy-zsh and Ansible 2.8.1
Guest operating system
debian stretch 64 contrib image
Vagrantfile
Debug output
Expected behavior
ansible.inventory.path
should be changed to ansible.inventory, making Vagrant pass the--inventory <...>
argument. This would match the same behavior as Ansible itself does (the inventory-file argument is deprecated anyway).Quote from Ansible help:
Actual behavior
When using ansible.inventory.path with an IP, Vagrant looks up the inventory file and changes the ansible-playbook argument to
--limit=<hostname>
". Although this works fine, the description ofansible.inventory.path
and Vagrant's actual behavior is confusing.The text was updated successfully, but these errors were encountered: