From 2ad447f9e07cdd506ae8f4727c4b71366bde503a Mon Sep 17 00:00:00 2001 From: "Alexandre M. Savio" Date: Tue, 31 Jul 2018 00:20:34 +0200 Subject: [PATCH] :sparkle: migrate Vagrantfile from trusty64 to bionic64 --- Vagrantfile | 2 +- host_vars/vepcon.yml | 2 ++ vagrant/test.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 0e9947f..e6ebaf2 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -4,7 +4,7 @@ Vagrant.configure("2") do |config| config.vm.define :vepcon, :autostart => true do |node| - node.vm.box = "ubuntu/trusty64" + node.vm.box = "ubuntu/bionic64" node.vm.hostname = 'vepcon' node.vm.network :private_network, ip: "10.0.11.10" node.vm.synced_folder ".", "/vagrant", type: "virtualbox" diff --git a/host_vars/vepcon.yml b/host_vars/vepcon.yml index aaab0ab..aba30b6 100644 --- a/host_vars/vepcon.yml +++ b/host_vars/vepcon.yml @@ -1,5 +1,7 @@ --- +ansible_python_interpreter: /usr/bin/python3 + user: "{{ ansible_user }}" group: "{{ ansible_user }}" diff --git a/vagrant/test.sh b/vagrant/test.sh index b705006..fead7af 100644 --- a/vagrant/test.sh +++ b/vagrant/test.sh @@ -7,7 +7,7 @@ sudo apt-get -y upgrade HOME=/home/vagrant -sudo apt-get -y install ssh curl rsync sshpass python language-pack-en +sudo apt-get -y install ssh curl rsync sshpass language-pack-en cp -f /vagrant/roles/ssh/files/id_rsa.pub ${HOME}/.ssh/ cp -f /vagrant/roles/ssh/files/id_rsa.pub ${HOME}/.ssh/authorized_keys