[#281] add hostname to HostConfig

Signed-off-by: m.malygina <m.malygina@yadro.com>
This commit is contained in:
m.malygina 2024-08-07 16:19:00 +03:00 committed by Andrey Berezin
parent 1c2ed25929
commit 6926c09dbe
2 changed files with 2 additions and 0 deletions

View file

@ -1,5 +1,6 @@
hosts: hosts:
- address: localhost - address: localhost
hostname: localhost
attributes: attributes:
sudo_shell: false sudo_shell: false
plugin_name: docker plugin_name: docker

View file

@ -60,6 +60,7 @@ class HostConfig:
""" """
plugin_name: str plugin_name: str
hostname: str
healthcheck_plugin_name: str healthcheck_plugin_name: str
address: str address: str
s3_creds_plugin_name: str = field(default="authmate") s3_creds_plugin_name: str = field(default="authmate")