]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
create a calamari task in ceph-mon
authorAlfredo Deza <adeza@redhat.com>
Tue, 8 Mar 2016 20:57:18 +0000 (15:57 -0500)
committerAlfredo Deza <adeza@redhat.com>
Wed, 9 Mar 2016 20:18:36 +0000 (15:18 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
roles/ceph-mon/tasks/calamari.yml [new file with mode: 0644]

diff --git a/roles/ceph-mon/tasks/calamari.yml b/roles/ceph-mon/tasks/calamari.yml
new file mode 100644 (file)
index 0000000..5b0c341
--- /dev/null
@@ -0,0 +1,19 @@
+---
+- name: install calamari server
+  apt:
+    pkg: calamari-server
+    state: present
+  when: ansible_os_family == 'Debian'
+  tags:
+    - package-install
+
+- name: install calamari server
+  yum:
+    pkg: calamari-server
+    state: present
+  when: ansible_os_family == 'RedHat'
+  tags:
+    - package-install
+
+- name: initialize the calamari server api
+  command: calamari-ctl initialize