Add ANSIBLE_ARGS to Vagrantfile
This commit is contained in:
parent
5dfca40517
commit
60cb099b4b
|
@ -12,7 +12,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
ansible.become = true
|
ansible.become = true
|
||||||
ansible.compatibility_mode = "2.0"
|
ansible.compatibility_mode = "2.0"
|
||||||
ansible.playbook = "playbook.yml"
|
ansible.playbook = "playbook.yml"
|
||||||
ansible.raw_arguments = ["--extra-vars=ansible_python_interpreter=/usr/bin/python3"]
|
ansible.raw_arguments = Shellwords.shellsplit(ENV['ANSIBLE_ARGS']) if ENV['ANSIBLE_ARGS']
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue