]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
No Bug - Update Ansible to the latest during vagrant provision (#292)
authorSebastin Santy <sebastinssanty@gmail.com>
Tue, 12 Dec 2017 21:45:17 +0000 (03:15 +0530)
committerGitHub <noreply@github.com>
Tue, 12 Dec 2017 21:45:17 +0000 (03:15 +0530)
Vagrantfile

index 2a1c4e9c46d2747382a2428d1c96b74ef9dfbc5e..8776ac08f0a08bae91a45a9d3541608192597c6c 100644 (file)
@@ -38,6 +38,7 @@ Vagrant.configure('2') do |config|
 
   config.vm.provision 'main', type: 'ansible_local', run: 'always' do |ansible|
     ansible.playbook = 'vagrant_support/playbook.yml'
+    ansible.version = 'latest'
     ansible.extra_vars = {
       WEB_IP:            WEB_IP,
       DB_IP:             DB_IP,
@@ -50,6 +51,7 @@ Vagrant.configure('2') do |config|
   if ARGV.include? '--provision-with'
     config.vm.provision 'update', type: 'ansible_local', run: 'never' do |update|
       update.playbook = 'vagrant_support/update.yml'
+      update.version = 'latest'
     end
   end