mirror of https://github.com/ceph/ceph-ansible.git
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
---
|
|
- name: set_fact docker_exec_cmd
|
|
set_fact:
|
|
docker_exec_cmd: "docker exec ceph-mon-{{ ansible_hostname }}"
|
|
when:
|
|
- containerized_deployment
|
|
|
|
- name: include deploy_monitors.yml
|
|
include: deploy_monitors.yml
|
|
when: not containerized_deployment
|
|
|
|
- name: include start_monitor.yml
|
|
include: start_monitor.yml
|
|
when: not containerized_deployment
|
|
|
|
- name: include ceph_keys.yml
|
|
include: ceph_keys.yml
|
|
when: not containerized_deployment
|
|
# this avoids the bug mentioned here: https://github.com/ansible/ansible/issues/18206
|
|
static: no
|
|
|
|
- name: include secure_cluster.yml
|
|
include: secure_cluster.yml
|
|
delegate_to: "{{ groups[mon_group_name][0] }}"
|
|
run_once: true
|
|
when:
|
|
- secure_cluster
|
|
- not containerized_deployment
|
|
|
|
- name: include docker/main.yml
|
|
include: docker/main.yml
|
|
when: containerized_deployment
|
|
|
|
- name: crush_rules.yml
|
|
include: crush_rules.yml
|
|
when:
|
|
- crush_rule_config
|
|
|
|
- name: include set_osd_pool_default_pg_num.yml
|
|
include: set_osd_pool_default_pg_num.yml
|
|
|
|
- name: include calamari.yml
|
|
include: calamari.yml
|
|
when: calamari
|