From 2c65c8437bb7b9ce561bd874d1abfaa56f2e0dfd Mon Sep 17 00:00:00 2001 From: Przemyslaw Kaminski Date: Fri, 26 Jun 2015 15:43:52 +0200 Subject: [PATCH] Use Fuel packages and change box to trusty --- Vagrantfile | 3 ++- main.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 8bf57661..6c410f7d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -22,7 +22,8 @@ SCRIPT Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| #config.vm.box = "deb/jessie-amd64" - config.vm.box = "rustyrobot/deb-jessie-amd64" + #config.vm.box = "rustyrobot/deb-jessie-amd64" + config.vm.box = "ubuntu/trusty64" config.vm.define "solar-dev", primary: true do |config| config.vm.provision "shell", inline: init_script, privileged: true diff --git a/main.yml b/main.yml index 2dd7db4f..0008907d 100644 --- a/main.yml +++ b/main.yml @@ -6,6 +6,7 @@ - apt: name=redis-server state=present - apt: name=python-redis state=present - lineinfile: dest=/etc/redis/redis.conf regexp='^bind ' line='bind 0.0.0.0' + - service: name=redis-server state=restarted - apt: name=git state=present @@ -38,3 +39,17 @@ # Setup development env for solar - shell: python setup.py develop chdir=/vagrant/solar + + #- apt: name=ubuntu-cloud-keyring state=present + #- shell: echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu trusty-updates/kilo main" > /etc/apt/sources.list.d/cloudarchive-kilo.list + #- shell: echo "deb http://osci-mirror-poz.infra.mirantis.net/pkgs/ubuntu-2015-06-25-194717 trusty-updates main" > /etc/apt/sources.list.d/fuel-kilo.list + - shell: echo "deb http://osci-mirror-poz.infra.mirantis.net/pkgs/ubuntu-2015-06-25-194717 trusty main" > /etc/apt/sources.list.d/fuel-kilo.list + # cloudarchive key + - shell: apt-key adv --recv-key --keyserver keyserver.ubuntu.com 5EDB1B62EC4926EA + # some other keys + - shell: apt-key adv --recv-key --keyserver keyserver.ubuntu.com 9D6D8F6BC857C906 + - shell: apt-key adv --recv-key --keyserver keyserver.ubuntu.com 7638D0442B90D010 + # mirantis poznan + - shell: apt-key adv --recv-key --keyserver keyserver.ubuntu.com 40976EAF437D05B5 + - shell: apt-key adv --recv-key --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32 + - shell: apt-get update