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
The Ansible provisioner should pass the raw_arguments value in the format supported by https://github.com/enkessler/childprocess library used under the hood to execute the ansible-playbook command from the host.
or
The documentation should be fixed, to better explain which formats are expected for the values in the raw_arguments array.
Steps to reproduce
Use blank characters as separator in raw_arguments values. For instance: ['-t frontend,backend']
run the ansible provisioner (e.g. vagant provision)
Workaround
Define raw_arguments values without any space, or split the argument and its value.
This problem only affects the ansible provisioner. The ansible_local provisioner is not affected since the generated ansible-playbook command is formatted as a string, and remotely executed over SSH.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Vagrant version
From version 1.3.0 to 1.8.6
Vagrantfile snippet
Observed behaviour
The given
raw_arguments
are not effective.Expected behavior
The Ansible provisioner should pass the
raw_arguments
value in the format supported by https://github.com/enkessler/childprocess library used under the hood to execute theansible-playbook
command from the host.or
The documentation should be fixed, to better explain which formats are expected for the values in the
raw_arguments
array.Steps to reproduce
raw_arguments
values. For instance:['-t frontend,backend']
vagant provision
)Workaround
Define
raw_arguments
values without any space, or split the argument and its value.Examples:
['--tags=frontend,backend']
['-t', 'frontend,backend']
['--tfrontend,backend']
References
Notes
This problem only affects the
ansible
provisioner. Theansible_local
provisioner is not affected since the generatedansible-playbook
command is formatted as a string, and remotely executed over SSH.The text was updated successfully, but these errors were encountered: