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
Is your feature request related to a problem? Please describe.
I need to use multiple inventory directories in my ansible configuration. One with global configurations that apply across environments, and another with configurations specific to the environment I'm currently working in. Ansible supports this, but vagrant only allows me to pass one inventory_path.
Describe the solution you'd like
I'd like to add ansible.inventory_paths, which will merge with ansible.inventory_path for compatibility. Then when the ansible command is constructed, each path would be added.
Describe alternatives you've considered
Alternatively, there could be an option that specifies that the inventory is static but not specified in the command so that the value set in the ansible config file will be used.
Is your feature request related to a problem? Please describe.
I need to use multiple inventory directories in my ansible configuration. One with global configurations that apply across environments, and another with configurations specific to the environment I'm currently working in. Ansible supports this, but vagrant only allows me to pass one inventory_path.
Describe the solution you'd like
I'd like to add
ansible.inventory_paths
, which will merge withansible.inventory_path
for compatibility. Then when the ansible command is constructed, each path would be added.Describe alternatives you've considered
Alternatively, there could be an option that specifies that the inventory is static but not specified in the command so that the value set in the ansible config file will be used.
Additional context
ansible docs
config definition to edit
logic to edit
The text was updated successfully, but these errors were encountered: