Vagrant/Ansible uses now 'become'

pull/27/head
Emilien Mantel 2018-02-27 07:21:45 +01:00
parent a4ffcb4ef3
commit 533a7e9f08
1 changed files with 2 additions and 2 deletions

4
Vagrantfile vendored
View File

@ -59,7 +59,7 @@ Vagrant.configure("2") do |config|
m.vm.provision "ansible" do |ansible|
ansible.playbook = "tests/test.yml"
ansible.verbose = 'vv'
ansible.sudo = true
ansible.become = true
ansible.extra_vars = opts[:vars].merge({ is_docker: true })
ansible.groups = { opts[:groups][0] => name }
end
@ -81,7 +81,7 @@ Vagrant.configure("2") do |config|
m.vm.provision "ansible" do |ansible|
ansible.playbook = "tests/test.yml"
ansible.verbose = 'vv'
ansible.sudo = true
ansible.become = true
ansible.extra_vars = opts[:vars].merge({ is_docker: false })
ansible.groups = { opts[:groups][0] => name }
end