c12s-kubespray/playbooks/ccp-deploy.yaml
2016-06-28 16:54:34 +02:00

14 lines
325 B
YAML

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