Skip to content

Commit

Permalink
make inventory_mode always to be 0
Browse files Browse the repository at this point in the history
  • Loading branch information
tambetliiv authored Jun 14, 2021
1 parent 9c4fdc3 commit ce634a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/modules/zabbix_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ def get_host_by_host_name(self, host_name):
if len(host_list) < 1:
self._module.fail_json(msg="Host not found: %s" % host_name)
else:
host_list[0]['inventory_mode'] = 0
return host_list[0]

# get proxyid by proxy name
Expand Down

0 comments on commit ce634a7

Please sign in to comment.