create a calamari task in ceph-mon

Signed-off-by: Alfredo Deza <adeza@redhat.com>
pull/614/head
Alfredo Deza 2016-03-08 15:57:18 -05:00
parent 8b64c6c8ed
commit b0a3f5b06d
1 changed files with 19 additions and 0 deletions

View File

@ -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