c12s-kubespray/playbooks/ccp-deploy.yaml
2016-06-30 16:50:29 +02:00

14 lines
322 B
YAML

- hosts: kube-master
pre_tasks:
- name: Rsync MCP scripts and repo
synchronize:
src: ../ccp/
dest: /root/ccp/
rsync_opts:
- "--exclude=/microservices-repos"
tasks:
- name: Deploy CCP
shell: ./ccp-deploy.sh
args:
chdir: /root/ccp
run_once: true