Merge pull request #614 from ceph/calamari-rest-api

Allow to install the calamari-server on monitors
pull/618/head
Leseb 2016-03-09 12:37:05 -08:00
commit 1a62a81006
4 changed files with 26 additions and 0 deletions

View File

@ -40,6 +40,8 @@ dummy:
# - nodelete
# - nosizechange
# Enable the Calamari-backed REST API on a Monitor
#calamari: false
#############
# OPENSTACK #

View File

@ -32,6 +32,8 @@ secure_cluster_flags:
- nodelete
- nosizechange
# Enable the Calamari-backed REST API on a Monitor
calamari: false
#############
# OPENSTACK #

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

View File

@ -20,3 +20,6 @@
- include: ./docker/main.yml
when: mon_containerized_deployment
- include: calamari.yml
when: calamari