Download:
child 305:afe29fdf065f
parent 303:572cd24c2c2f
304:637853c693a1
Anton Shestakov <av6@dwimlabs.net>, Thu, 28 Jun 2018 22:36:32 +0800
provision: update vagrant image to Xenial

2 файлов изменено, 24 вставок(+), 13 удалений(-) [+]
contrib/Vagrantfile file | annotate | diff | comparison | revisions
contrib/provision/playbook.yml file | annotate | diff | comparison | revisions
--- a/contrib/Vagrantfile Wed Jun 27 23:09:16 2018 +0800
+++ b/contrib/Vagrantfile Thu Jun 28 22:36:32 2018 +0800
@@ -1,5 +1,5 @@
Vagrant.configure("2") do |config|
- config.vm.box = "ubuntu/trusty64"
+ config.vm.box = "ubuntu/xenial64"
config.vm.network "private_network", ip: "192.168.33.111"
config.vm.network "forwarded_port", guest: 443, host: 21443
@@ -11,6 +11,8 @@
vb.customize ["modifyvm", :id, "--memory", "256"]
end
+ config.vm.provision "shell", inline: $setup
+
config.vm.provision "ansible" do |ansible|
ansible.playbook = "provision/playbook.yml"
#ansible.tags = "common,nginx,prosody,turnserver,certs,tram-im"
@@ -18,3 +20,9 @@
#ansible.verbose = "vv"
end
end
+
+$setup = <<END
+export DEBIAN_FRONTEND=noninteractive
+apt-get -yq update
+apt-get install -y python
+END
--- a/contrib/provision/playbook.yml Wed Jun 27 23:09:16 2018 +0800
+++ b/contrib/provision/playbook.yml Thu Jun 28 22:36:32 2018 +0800
@@ -10,20 +10,23 @@
state: absent
purge: yes
with_items:
- - chef
- - chef-zero
- cloud-guest-utils
- cloud-init
- - exim4
- - exim4-base
- - exim4-config
- - exim4-daemon-light
- - juju
- - juju-core
- - landscape-client
- - landscape-common
- - puppet
- - puppet-common
+ - cloud-initramfs-copymods
+ - cloud-initramfs-dyn-netconf
+ - fonts-ubuntu-font-family-console
+ - friendly-recovery
+ - lvm2
+ - lxc-common
+ - lxcfs
+ - lxd
+ - mdadm
+ - open-iscsi
+ - plymouth
+ - plymouth-theme-ubuntu-text
+ - popularity-contest
+ - snapd
+ - ureadahead
when: ansible_virtualization_type == "virtualbox"
roles:
- role: common