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

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