Signed-off-by: Alberto Murillo Silva <alberto.murillo.silva@intel.com>
- name: fail on unsupported distribution
fail:
msg: "Distribution not supported {{ ansible_os_family }}"
- when: "'{{ ansible_os_family }}' not in ['Debian', 'RedHat']"
+ when: "'{{ ansible_os_family }}' not in ['Debian', 'RedHat', 'ClearLinux']"
- name: fail on unsupported distribution for red hat ceph storage
fail:
--- /dev/null
+---
+- name: install ceph bundle
+ swupd:
+ name: storage-cluster
+ state: present
# 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'
package:
name: parted
state: present
+ when: ansible_os_family != 'ClearLinux'
- name: create bootstrap-osd and osd directories
file: