c12s-kubespray/playbooks/ccp-deploy.yaml

17 lines
406 B
YAML
Raw Normal View History

2016-06-27 15:57:29 +00:00
- hosts: kube-master
pre_tasks:
- name: Rsync nodes list
synchronize: src=/root/nodes dest=/root/nodes
- 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