mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-09 12:42:10 +07:00
With Vagrant 2.* ansible.sudo -> ansible.become
This commit is contained in:
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@@ -37,7 +37,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]
|
||||
end
|
||||
end
|
||||
@@ -53,7 +53,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]
|
||||
end
|
||||
end
|
||||
@@ -75,7 +75,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 = {
|
||||
# ansible_python_interpreter: '/usr/local/bin/python'
|
||||
# }
|
||||
|
||||
Reference in New Issue
Block a user