Commit 326edbda authored by Tristan Cavelier's avatar Tristan Cavelier

kvm: rename section run-ansible-monitor to monitor-kvm-ansible

parent c2913c92
......@@ -98,7 +98,7 @@ mode = 0644
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/instance-kvm.cfg.jinja2
mode = 644
md5sum = c6d616fc3922c28a502935963a00da2b
md5sum = 3e9d5e3c40f9c6c5e3dd690d524eb2f4
download-only = true
on-update = true
......
......@@ -47,7 +47,7 @@ parts =
# monitor-frontend-promise
cron-entry-logrotate
monitor
run-ansible-monitor
monitor-kvm-ansible
start-monitor
ca-httpd
monitor-promise
......@@ -356,7 +356,7 @@ template = {{ monitor_service_template_conf }}
rendered = ${monitor-directory:services-conf}/ansible-report.conf
name = ansible-report
title = kvm Ansible report
executable-file = ${directory:scripts}/ansible-kvm-report
executable-file = {{ ansible_report_script }}
context =
key name :name
key public_path_list monitor-symlink:public-path
......@@ -371,11 +371,6 @@ status_path = ${monitor-directory:ansible-public}/status.json
public_folder = ${monitor-directory:ansible-public}
private_folder = ${monitor-directory:ansible-private}
[run-ansible-monitor]
recipe = slapos.cookbook:wrapper
command-line = python {{ ansible_report_script }} ${ansible-parameters-dict:status_path}
wrapper-path = ${monitor-kvm-ansible:executable-file}
[monitor-httpd-conf]
port = 8026
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment