Bugfixes in ccp playbooks

This commit is contained in:
Aleksandr Didenko 2016-07-08 14:23:00 +02:00
parent 8b3112d287
commit e6358d825e
2 changed files with 6 additions and 7 deletions

2
Vagrantfile vendored
View file

@ -14,6 +14,7 @@ $user = ENV["USER"]
$public_subnet = prefix.to_s + ".0"
$private_subnet = prefix.to_s + ".1"
$mgmt_cidr = prefix.to_s + ".2.0/24"
$neutron_subnet = "172.30.250"
$instance_name_prefix = "#{$user}-k8s"
@ -91,6 +92,7 @@ Vagrant.configure("2") do |config|
:libvirt__forward_mode => "none"
# "neutron" isolated network
test_vm.vm.network :private_network,
:ip => "#{$neutron_subnet}.#{i+10}",
:model_type => "e1000",
:libvirt__network_name => "#{$instance_name_prefix}-neutron",
:libvirt__dhcp_enabled => false,

View file

@ -1,10 +1,10 @@
- hosts: kube-master
pre_tasks:
- name: Download fuel-ccp
shell: git clone https://git.openstack.org/openstack/fuel-ccp
args:
chdir: /usr/local/src
creates: /usr/local/src/fuel-ccp/setup.py
git:
repo: https://git.openstack.org/openstack/fuel-ccp
dest: /usr/local/src/fuel-ccp
version: master
- name: Upload ccp configs to master nodes
synchronize:
src: ../ccp/
@ -36,10 +36,7 @@
when: get_svc.stdout.find('registry') == -1
- name: Fetch CCP images
shell: mcp-microservices --config-file=/root/ccp/ccp.conf fetch
chdir: /usr/local/src
run_once: true
- name: Build CCP images
shell: mcp-microservices --config-file=/root/ccp/ccp.conf build
args:
chdir: /root/ccp
run_once: true