Refactor CCP deployment part

This commit is contained in:
Aleksandr Didenko
2016-07-12 17:20:58 +02:00
parent 569d0081d3
commit d450e1f06f
5 changed files with 12 additions and 4 deletions

View File

@@ -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

View File

@@ -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