mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-10 22:19:32 -02:30
Refactor CCP deployment part
This commit is contained in:
@@ -45,11 +45,11 @@
|
||||
when: get_svc.stdout.find('registry') == -1
|
||||
|
||||
- name: Fetch CCP images
|
||||
shell: mcp-microservices --config-file=/root/ccp/ccp.conf fetch
|
||||
shell: "mcp-microservices --config-file=/root/ccp/ccp.conf fetch &> /var/log/ccp-fetch.log"
|
||||
run_once: true
|
||||
|
||||
- name: Build CCP images
|
||||
shell: mcp-microservices --config-file=/root/ccp/ccp.conf build
|
||||
shell: "mcp-microservices --config-file=/root/ccp/ccp.conf build &> /var/log/ccp-build.log"
|
||||
run_once: true
|
||||
|
||||
- hosts: k8s-cluster
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
run_once: true
|
||||
|
||||
- name: Deploy CCP
|
||||
shell: mcp-microservices --config-file=/root/ccp/ccp.conf deploy
|
||||
shell: "mcp-microservices --config-file=/root/ccp/ccp.conf deploy &> /var/log/ccp-deploy.log"
|
||||
args:
|
||||
chdir: /root/ccp
|
||||
run_once: true
|
||||
|
||||
Reference in New Issue
Block a user