summaryrefslogtreecommitdiffstats
path: root/kube2consul/bin/blueprint/task.yml
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-08-31 16:04:55 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-08-31 16:09:58 +0800
commita7837a0ac51704003c6aacba2dacb8e64f681622 (patch)
treee350eb24e30d8523a222de0c4cc2cec0675035f1 /kube2consul/bin/blueprint/task.yml
parentc0f3b093c704da85252044b3a177dbabab63c49a (diff)
remove kube2consul codes
Issue-Id: OOM-61 Change-Id: I4eb076835a051ed6bb3abbdcb90aafdf4d4a7149 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kube2consul/bin/blueprint/task.yml')
-rw-r--r--kube2consul/bin/blueprint/task.yml118
1 files changed, 0 insertions, 118 deletions
diff --git a/kube2consul/bin/blueprint/task.yml b/kube2consul/bin/blueprint/task.yml
deleted file mode 100644
index 45cfcd9..0000000
--- a/kube2consul/bin/blueprint/task.yml
+++ /dev/null
@@ -1,118 +0,0 @@
----
-- name: remove kube2consul container
- docker:
- name: kube2consul
- image: "{{kube2consul_image}}"
- state: absent
-
-- name: run kube2consul container
- docker:
- name: kube2consul
- image: "{{kube2consul_image}}"
- log_driver: syslog
- net: host
- restart_policy: always
- volumes:
- - "{{ kube2consul_data_host }}:{{ kube2consul_data_container }}"
- env:
- KUBE_MASTER_IP: "{{kube_master_ip}}"
- PDM_CONTROLLER_IP: "{{pdm_controller_ip}}"
- JOIN_IP: "{{consul_join_ip}}"
- when:
- - all_in_one == 'no'
- - master_in_controller == 'no'
- - cluster_type == 'k8s'
-
-- name: run kube2consul container
- docker:
- name: kube2consul
- image: "{{kube2consul_image}}"
- net: host
- restart_policy: always
- privileged: true
- volumes:
- - "{{ kube2consul_data_host }}:{{ kube2consul_data_container }}"
- - "/root/.kube/config:/root/.kube/config:ro"
- env:
- KUBE_MASTER_IP: "{{kube_master_ip}}"
- PDM_CONTROLLER_IP: "{{pdm_controller_ip}}"
- JOIN_IP: "{{consul_join_ip}}"
- CLUSTER_TYPE: "openshift"
- when:
- - all_in_one == 'no'
- - master_in_controller == 'no'
- - cluster_type == 'openshift'
-
-- name: run kube2consul container
- docker:
- name: kube2consul
- image: "{{kube2consul_image}}"
- log_driver: syslog
- restart_policy: always
- volumes:
- - "{{ kube2consul_data_host }}:{{ kube2consul_data_container }}"
- env:
- KUBE_MASTER_IP: "{{kube_master_ip}}"
- PDM_CONTROLLER_IP: "{{pdm_controller_ip}}"
- JOIN_IP: "{{consul_join_ip}}"
- ALL_IN_ONE: "yes"
- when:
- - all_in_one == 'yes'
- - cluster_type == 'k8s'
-
-- name: run kube2consul container
- docker:
- name: kube2consul
- image: "{{kube2consul_image}}"
- log_driver: syslog
- restart_policy: always
- privileged: true
- volumes:
- - "{{ kube2consul_data_host }}:{{ kube2consul_data_container }}"
- - "/root/.kube/config:/root/.kube/config:ro"
- env:
- KUBE_MASTER_IP: "{{kube_master_ip}}"
- PDM_CONTROLLER_IP: "{{pdm_controller_ip}}"
- JOIN_IP: "{{consul_join_ip}}"
- ALL_IN_ONE: "yes"
- CLUSTER_TYPE: "openshift"
- when:
- - all_in_one == 'yes'
- - cluster_type == 'openshift'
-
-- name: run kube2consul container
- docker:
- name: kube2consul
- image: "{{kube2consul_image}}"
- log_driver: syslog
- restart_policy: always
- volumes:
- - "{{ kube2consul_data_host }}:{{ kube2consul_data_container }}"
- env:
- KUBE_MASTER_IP: "{{kube_master_ip}}"
- PDM_CONTROLLER_IP: "{{pdm_controller_ip}}"
- JOIN_IP: "{{consul_join_ip}}"
- ALL_IN_ONE: "yes"
- when:
- - master_in_controller == 'yes'
- - cluster_type == 'k8s'
-
-- name: run kube2consul container
- docker:
- name: kube2consul
- image: "{{kube2consul_image}}"
- log_driver: syslog
- restart_policy: always
- privileged: true
- volumes:
- - "{{ kube2consul_data_host }}:{{ kube2consul_data_container }}"
- - "/root/.kube/config:/root/.kube/config:ro"
- env:
- KUBE_MASTER_IP: "{{kube_master_ip}}"
- PDM_CONTROLLER_IP: "{{pdm_controller_ip}}"
- JOIN_IP: "{{consul_join_ip}}"
- ALL_IN_ONE: "yes"
- CLUSTER_TYPE: "openshift"
- when:
- - master_in_controller == 'yes'
- - cluster_type == 'openshift' \ No newline at end of file