From de41097cde86dbbf33f2351150e23ae00ce7cfcd Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Wed, 22 Nov 2017 16:28:35 +0100 Subject: [PATCH] Vagrant: sudo -> become --- .travis.yml | 4 ++-- Vagrantfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 985e853..2de218f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,8 +30,8 @@ services: - docker before_install: - - wget https://releases.hashicorp.com/vagrant/1.9.5/vagrant_1.9.5_x86_64.deb - - sudo dpkg -i vagrant_1.9.5_x86_64.deb + - wget https://releases.hashicorp.com/vagrant/2.0.1/vagrant_2.0.1_x86_64.deb + - sudo dpkg -i vagrant_2.0.1_x86_64.deb install: - pip install "$ANSIBLE_VERSION" diff --git a/Vagrantfile b/Vagrantfile index 6ffd943..2c9d3f4 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -33,7 +33,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 @@ -49,7 +49,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