--- - name: include checks/check_system.yml include: checks/check_system.yml - name: include checks/check_mandatory_vars.yml include: checks/check_mandatory_vars.yml - name: include checks/check_firewall.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 - name: include misc/system_tuning.yml 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 - name: include installs/install_on_redhat.yml 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 - name: include installs/install_on_debian.yml 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 - name: include installs/install_on_clear.yml 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 - name: include misc/ntp_redhat.yml 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 - name: include misc/ntp_debian.yml 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 - name: set_fact 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 - name: include release-rhcs.yml include: release-rhcs.yml when: - ceph_repository in ['rhcs', 'dev'] tags: - always - name: include facts_mon_fsid.yml 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 - name: include create_ceph_initial_dirs.yml include: create_ceph_initial_dirs.yml - name: include create_rbd_client_dir.yml include: create_rbd_client_dir.yml - name: include configure_cluster_name.yml include: configure_cluster_name.yml