* zabbix_host: fix link template error (#46521)
* add host interface before link template
(cherry picked from commit 5a35907b71
)
* added changelog
This commit is contained in:
parent
47f2352d33
commit
816eee2c1e
2 changed files with 5 additions and 3 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "zabbix_host - module was failing when zabbix host was updated with new interface and template depending on that interface at the same time"
|
|
@ -814,12 +814,12 @@ def main():
|
|||
description, host_name, inventory_mode, inventory_zabbix,
|
||||
tls_accept, tls_psk_identity, tls_psk, tls_issuer, tls_subject, tls_connect,
|
||||
ipmi_authtype, ipmi_privilege, ipmi_username, ipmi_password):
|
||||
host.link_or_clear_template(host_id, template_ids, tls_connect, tls_accept, tls_psk_identity,
|
||||
tls_psk, tls_issuer, tls_subject, ipmi_authtype, ipmi_privilege,
|
||||
ipmi_username, ipmi_password)
|
||||
host.update_host(host_name, group_ids, status, host_id,
|
||||
interfaces, exist_interfaces, proxy_id, visible_name, description, tls_connect, tls_accept,
|
||||
tls_psk_identity, tls_psk, tls_issuer, tls_subject, ipmi_authtype, ipmi_privilege, ipmi_username, ipmi_password)
|
||||
host.link_or_clear_template(host_id, template_ids, tls_connect, tls_accept, tls_psk_identity,
|
||||
tls_psk, tls_issuer, tls_subject, ipmi_authtype, ipmi_privilege,
|
||||
ipmi_username, ipmi_password)
|
||||
host.update_inventory_mode(host_id, inventory_mode)
|
||||
host.update_inventory_zabbix(host_id, inventory_zabbix)
|
||||
|
||||
|
|
Loading…
Reference in a new issue