Switch to using upstream fuel-ccp project

This commit is contained in:
Aleksandr Didenko
2016-07-07 19:30:36 +02:00
parent b4dfd8c973
commit 8b3112d287
11 changed files with 68 additions and 289 deletions

View File

@@ -1,14 +1,17 @@
- hosts: kube-master
pre_tasks:
- name: Rsync MCP scripts and repo
- name: Rsync CCP configs
synchronize:
src: ../ccp/
dest: /root/ccp/
rsync_opts:
- "--exclude=/microservices-repos"
tasks:
- name: Get namespaces
shell: kubectl get namespace
register: get_ns
run_once: true
- name: Deploy CCP
shell: ./ccp-deploy.sh
shell: mcp-microservices --config-file=/root/ccp/ccp.conf deploy
args:
chdir: /root/ccp
run_once: true
when: get_ns.stdout.find('openstack') == -1