2016-06-27 15:57:29 +00:00
|
|
|
- hosts: kube-master
|
|
|
|
pre_tasks:
|
|
|
|
- name: Rsync nodes list
|
|
|
|
synchronize: src=/root/nodes dest=/root/nodes
|
2016-06-28 12:06:53 +00:00
|
|
|
- name: Rsync MCP scripts and repo
|
|
|
|
synchronize:
|
|
|
|
src: /root/ccp/
|
|
|
|
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
|