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 ...@@ -98,7 +98,7 @@ mode = 0644
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/instance-kvm.cfg.jinja2 url = ${:_profile_base_location_}/instance-kvm.cfg.jinja2
mode = 644 mode = 644
md5sum = c6d616fc3922c28a502935963a00da2b md5sum = 3e9d5e3c40f9c6c5e3dd690d524eb2f4
download-only = true download-only = true
on-update = true on-update = true
......
...@@ -47,7 +47,7 @@ parts = ...@@ -47,7 +47,7 @@ parts =
# monitor-frontend-promise # monitor-frontend-promise
cron-entry-logrotate cron-entry-logrotate
monitor monitor
run-ansible-monitor monitor-kvm-ansible
start-monitor start-monitor
ca-httpd ca-httpd
monitor-promise monitor-promise
...@@ -356,7 +356,7 @@ template = {{ monitor_service_template_conf }} ...@@ -356,7 +356,7 @@ template = {{ monitor_service_template_conf }}
rendered = ${monitor-directory:services-conf}/ansible-report.conf rendered = ${monitor-directory:services-conf}/ansible-report.conf
name = ansible-report name = ansible-report
title = kvm Ansible report title = kvm Ansible report
executable-file = ${directory:scripts}/ansible-kvm-report executable-file = {{ ansible_report_script }}
context = context =
key name :name key name :name
key public_path_list monitor-symlink:public-path key public_path_list monitor-symlink:public-path
...@@ -371,11 +371,6 @@ status_path = ${monitor-directory:ansible-public}/status.json ...@@ -371,11 +371,6 @@ status_path = ${monitor-directory:ansible-public}/status.json
public_folder = ${monitor-directory:ansible-public} public_folder = ${monitor-directory:ansible-public}
private_folder = ${monitor-directory:ansible-private} 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] [monitor-httpd-conf]
port = 8026 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