Execution
Date 08 Dec 2025 13:50:33 +0000
Duration 00:06:27.80
Controller aio1.openstack.local
User root
Versions
Ansible 2.18.6
ara 1.7.4 / 1.7.4
Python 3.12.11
Summary
7 Hosts
589 Tasks
576 Results
37 Plays
222 Files
0 Records

File: /etc/ansible/roles/ceph-ansible/roles/ceph-mgr/tasks/main.yml

---
- name: Set_fact container_exec_cmd
  ansible.builtin.set_fact:
    container_exec_cmd: "{{ container_binary }} exec ceph-mon-{{ hostvars[item]['ansible_facts']['hostname'] }}"
  with_items: "{{ groups.get(mon_group_name, []) }}"
  delegate_to: "{{ item }}"
  delegate_facts: true
  run_once: true
  when: containerized_deployment | bool

- name: Include common.yml
  ansible.builtin.include_tasks: common.yml

- name: Include pre_requisite.yml
  ansible.builtin.include_tasks: pre_requisite.yml
  when: not containerized_deployment | bool

- name: Include start_mgr.yml
  ansible.builtin.include_tasks: start_mgr.yml

- name: Include mgr_modules.yml
  ansible.builtin.include_tasks: mgr_modules.yml
  when:
    - ceph_mgr_modules | length > 0
    - ((groups[mgr_group_name] | default([]) | length == 0 and inventory_hostname == groups[mon_group_name] | last) or
      (groups[mgr_group_name] | default([]) | length > 0 and inventory_hostname == groups[mgr_group_name] | last))