From b0a3f5b06d1b708db53c762ab85f58962f4850b0 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 8 Mar 2016 15:57:18 -0500 Subject: [PATCH] create a calamari task in ceph-mon Signed-off-by: Alfredo Deza --- roles/ceph-mon/tasks/calamari.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 roles/ceph-mon/tasks/calamari.yml diff --git a/roles/ceph-mon/tasks/calamari.yml b/roles/ceph-mon/tasks/calamari.yml new file mode 100644 index 000000000..5b0c34119 --- /dev/null +++ b/roles/ceph-mon/tasks/calamari.yml @@ -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 -- 2.39.5