Replace deprecated host param for monitors

Definition of the host parameter has been deprecated in favor
of the hostname, which by default set to socket.gethostname().

Since instancemonitor started using hostname param, it should equal
to the names compute has in `compute service list`

To make this change backportable, we explicitly replace parameter to
avoid confusion about missing parameter.

Change-Id: I21c7c8cc90cb10afcc224c7cfb9c8c628e5a308b
This commit is contained in:
Dmitriy Rabotyagov 2021-05-03 14:07:11 +03:00
parent f8a6ebd134
commit 146824fd05
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
[DEFAULT]
host = {{ ansible_host }}
hostname = {{ ansible_facts['hostname'] }}
processmonitor_manager = masakarimonitors.processmonitor.process.ProcessmonitorManager
hostmonitor_manager = masakarimonitors.hostmonitor.host.HostmonitorManager
use_journal = true