2016-03-09 04:57:18 +08:00
|
|
|
---
|
|
|
|
- name: install calamari server
|
2016-11-28 22:16:56 +08:00
|
|
|
package:
|
|
|
|
name: calamari-server
|
2016-03-09 04:57:18 +08:00
|
|
|
state: present
|
|
|
|
tags:
|
|
|
|
- package-install
|
|
|
|
|
2017-03-13 20:46:38 +08:00
|
|
|
- name: increase calamari logging level when debug is on
|
|
|
|
ini_file:
|
|
|
|
dest: /etc/calamari/calamari.conf
|
|
|
|
section: "{{ item }}"
|
|
|
|
option: log_level
|
|
|
|
value: DEBUG
|
|
|
|
with_items:
|
|
|
|
- cthulhu
|
|
|
|
- calamari_web
|
|
|
|
when: calamari_debug
|
|
|
|
|
2016-03-09 04:57:18 +08:00
|
|
|
- name: initialize the calamari server api
|
|
|
|
command: calamari-ctl initialize
|