]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Add clearlinux to supported platforms 1460/head
authorAlberto Murillo <alberto.murillo.silva@intel.com>
Fri, 22 Apr 2016 19:13:36 +0000 (14:13 -0500)
committerAlberto Murillo Silva <alberto.murillo.silva@intel.com>
Mon, 24 Apr 2017 14:34:23 +0000 (09:34 -0500)
Signed-off-by: Alberto Murillo Silva <alberto.murillo.silva@intel.com>
roles/ceph-common/tasks/checks/check_system.yml
roles/ceph-common/tasks/installs/install_on_clear.yml [new file with mode: 0644]
roles/ceph-common/tasks/main.yml
roles/ceph-osd/tasks/pre_requisite.yml

index 985c387e384da0dbc50d67854f7c0853cb268f2a..460c3bf5d4daf16adfdf7f3c97d7bdcad73055bc 100644 (file)
@@ -12,7 +12,7 @@
 - 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:
diff --git a/roles/ceph-common/tasks/installs/install_on_clear.yml b/roles/ceph-common/tasks/installs/install_on_clear.yml
new file mode 100644 (file)
index 0000000..73c1ac8
--- /dev/null
@@ -0,0 +1,5 @@
+---
+- name: install ceph bundle
+  swupd:
+    name: storage-cluster
+    state: present
index daf8e3ff97b6bcf50f7712631da050a935597b2d..71b482cbae7e2e8bd115a19d073e622c237c759e 100644 (file)
   # 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'
index fdb4e2bfc805f29fe71db2014200aa9392ecc472..518c421b218a6e489fa82f23b52c038242214656 100644 (file)
@@ -11,6 +11,7 @@
   package:
     name: parted
     state: present
+  when: ansible_os_family != 'ClearLinux'
 
 - name: create bootstrap-osd and osd directories
   file: