2015-03-23 22:08:58 +08:00
|
|
|
---
|
2017-10-04 16:39:17 +08:00
|
|
|
- name: set_fact docker_exec_cmd
|
|
|
|
set_fact:
|
|
|
|
docker_exec_cmd: "docker exec ceph-restapi-{{ ansible_hostname }}"
|
|
|
|
when:
|
|
|
|
- containerized_deployment
|
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include pre_requisite.yml
|
2018-08-21 22:23:35 +08:00
|
|
|
include_tasks: pre_requisite.yml
|
2017-09-15 06:48:53 +08:00
|
|
|
when:
|
|
|
|
- not containerized_deployment
|
2015-03-23 22:08:58 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include start_restapi.yml
|
2018-08-21 22:23:35 +08:00
|
|
|
include_tasks: start_restapi.yml
|
2017-09-15 06:48:53 +08:00
|
|
|
when:
|
|
|
|
- not containerized_deployment
|
2015-03-23 22:08:58 +08:00
|
|
|
|
2017-09-15 06:48:53 +08:00
|
|
|
- name: include docker/main.yml
|
2018-08-21 22:23:35 +08:00
|
|
|
include_tasks: docker/main.yml
|
2017-09-15 06:48:53 +08:00
|
|
|
when:
|
|
|
|
- containerized_deployment
|