-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Description
Vagrant version
Vagrant 2.0.0
Expected behavior
Ansible will happily accept multiple --extra-vars arguments:
[luto@luto dir]$ ansible --extra-vars 'a=43' --extra-vars 'b=42' -m debug -a var=b all
asteroid | SUCCESS => {
"b": "42"
}
ansible.extra_vars is currently only able to accept a single filename or a single hash. Are you interested in changing this in a backwards compatible way, so ansible.extra_vars accepts a filename, a hash or a list of either? I'd be happy to prepare a PR.
This would enable Ansible users to overwrite values given in a file easily. It's also possible to split up variables into a set that is applicable always, and a set that is applicable for a specific provider or box.
Reactions are currently unavailable