mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #614 from ceph/calamari-rest-api
Allow to install the calamari-server on monitorspull/618/head
commit
1a62a81006
|
@ -40,6 +40,8 @@ dummy:
|
||||||
# - nodelete
|
# - nodelete
|
||||||
# - nosizechange
|
# - nosizechange
|
||||||
|
|
||||||
|
# Enable the Calamari-backed REST API on a Monitor
|
||||||
|
#calamari: false
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# OPENSTACK #
|
# OPENSTACK #
|
||||||
|
|
|
@ -32,6 +32,8 @@ secure_cluster_flags:
|
||||||
- nodelete
|
- nodelete
|
||||||
- nosizechange
|
- nosizechange
|
||||||
|
|
||||||
|
# Enable the Calamari-backed REST API on a Monitor
|
||||||
|
calamari: false
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# OPENSTACK #
|
# OPENSTACK #
|
||||||
|
|
|
@ -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
|
|
@ -20,3 +20,6 @@
|
||||||
|
|
||||||
- include: ./docker/main.yml
|
- include: ./docker/main.yml
|
||||||
when: mon_containerized_deployment
|
when: mon_containerized_deployment
|
||||||
|
|
||||||
|
- include: calamari.yml
|
||||||
|
when: calamari
|
||||||
|
|
Loading…
Reference in New Issue