2016-06-27 15:57:29 +00:00
|
|
|
- hosts: kube-master
|
|
|
|
pre_tasks:
|
2016-06-28 12:06:53 +00:00
|
|
|
- name: Rsync MCP scripts and repo
|
|
|
|
synchronize:
|
2016-06-30 14:50:29 +00:00
|
|
|
src: ../ccp/
|
2016-06-28 12:06:53 +00:00
|
|
|
dest: /root/ccp/
|
|
|
|
rsync_opts:
|
|
|
|
- "--exclude=/microservices-repos"
|
2016-06-27 15:57:29 +00:00
|
|
|
tasks:
|
|
|
|
- name: Deploy CCP
|
|
|
|
shell: ./ccp-deploy.sh
|
|
|
|
args:
|
|
|
|
chdir: /root/ccp
|
|
|
|
run_once: true
|