Add ANSIBLE_ARGS to Vagrantfile

This commit is contained in:
Lukáš Kucharczyk 2021-05-15 00:00:54 +02:00
parent 5dfca40517
commit 60cb099b4b
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -12,7 +12,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
ansible.become = true
ansible.compatibility_mode = "2.0"
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