mirror of https://github.com/ceph/ceph-ansible.git
79 lines
2.3 KiB
YAML
79 lines
2.3 KiB
YAML
---
|
|
- include: ./checks/check_system.yml
|
|
- include: ./checks/check_mandatory_vars.yml
|
|
|
|
- include: ./checks/check_firewall.yml
|
|
when: check_firewall
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
static: False
|
|
|
|
- include: ./misc/system_tuning.yml
|
|
when: osd_group_name in group_names
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
static: False
|
|
|
|
- include: ./installs/install_on_redhat.yml
|
|
when:
|
|
- ansible_os_family == 'RedHat'
|
|
tags:
|
|
- package-install
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
static: False
|
|
|
|
- include: ./installs/install_on_debian.yml
|
|
when:
|
|
- ansible_os_family == 'Debian'
|
|
tags:
|
|
- package-install
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
static: False
|
|
|
|
- include: ./installs/install_on_clear.yml
|
|
when: ansible_os_family == 'ClearLinux'
|
|
tags:
|
|
- package-install
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
static: False
|
|
|
|
- include: ./misc/ntp_redhat.yml
|
|
when:
|
|
- ansible_os_family == 'RedHat'
|
|
- ntp_service_enabled
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
static: False
|
|
|
|
- include: ./misc/ntp_debian.yml
|
|
when:
|
|
- ansible_os_family == 'Debian'
|
|
- ntp_service_enabled
|
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
|
static: False
|
|
|
|
- name: get ceph version
|
|
command: ceph --version
|
|
changed_when: false
|
|
always_run: yes
|
|
register: ceph_version
|
|
|
|
- set_fact:
|
|
ceph_version: "{{ ceph_version.stdout.split(' ')[2] }}"
|
|
|
|
# override ceph_stable_release for ceph_dev and rhcs installations since ceph_stable_release is not mandatory
|
|
- include: ./release-rhcs.yml
|
|
when:
|
|
- ceph_repository in ['rhcs', 'dev']
|
|
tags:
|
|
- always
|
|
|
|
- include: facts_mon_fsid.yml
|
|
run_once: true
|
|
when:
|
|
- cephx
|
|
- not monitor_keyring_conf.stat.exists
|
|
- ceph_current_fsid.rc == 0
|
|
- mon_group_name in group_names
|
|
|
|
- include: create_ceph_initial_dirs.yml
|
|
- include: create_rbd_client_dir.yml
|
|
- include: configure_cluster_name.yml
|