mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
zabbix_host: fix link template error (#46521)
* add host interface before link template
This commit is contained in:
parent
b82f965616
commit
5a35907b71
1 changed files with 3 additions and 3 deletions
|
@ -814,12 +814,12 @@ def main():
|
||||||
description, host_name, inventory_mode, inventory_zabbix,
|
description, host_name, inventory_mode, inventory_zabbix,
|
||||||
tls_accept, tls_psk_identity, tls_psk, tls_issuer, tls_subject, tls_connect,
|
tls_accept, tls_psk_identity, tls_psk, tls_issuer, tls_subject, tls_connect,
|
||||||
ipmi_authtype, ipmi_privilege, ipmi_username, ipmi_password):
|
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,
|
host.update_host(host_name, group_ids, status, host_id,
|
||||||
interfaces, exist_interfaces, proxy_id, visible_name, description, tls_connect, tls_accept,
|
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)
|
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_mode(host_id, inventory_mode)
|
||||||
host.update_inventory_zabbix(host_id, inventory_zabbix)
|
host.update_inventory_zabbix(host_id, inventory_zabbix)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue