mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-19 14:57:43 -02:30
Switch to using upstream fuel-ccp project
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user