Skip to content

Commit 6bd98f0

Browse files
committed
Default to 18.04 with python3 when testing
1 parent 78910a8 commit 6bd98f0

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.vagrant
22
playbook.retry
3+
*-cloudimg-console.log

Vagrantfile

+4-5
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
55
vagrant_root = File.dirname(__FILE__)
66
ENV['ANSIBLE_ROLES_PATH'] = "#{vagrant_root}/.."
77

8-
config.vm.box = "ubuntu/xenial64"
9-
# Install python
10-
config.vm.provision "install python", type: "shell" do |s|
11-
s.inline = "sudo apt-get -y install python-minimal"
12-
end
8+
config.vm.box = "ubuntu/bionic64"
139

1410
# Run core
1511
config.vm.provision "role-test", type: "ansible" do |ansible|
1612
ansible.verbose = "v"
1713
ansible.playbook = "playbook.yml"
14+
ansible.raw_arguments = [
15+
'-e', 'ansible_python_interpreter=/usr/bin/python3'
16+
]
1817
end
1918
end

meta/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ galaxy_info:
1111
- name: Ubuntu
1212
versions:
1313
- xenial
14+
- bionic
1415

1516
galaxy_tags:
1617
- amazon

0 commit comments

Comments
 (0)