When you run
opsview-deploy, it can modify the
/etc/hosts files on the Opsview hosts it runs against. You can disable this behavior. After doing so, you will need to manage the
/etc/hosts files of your Opsview hosts yourself. See our article on managing collector hosts files for more information.
Take care to ensure proper formatting when editing YML files, including using only two spaces per level of indentation.
- Locate the variable
opsview_host_update_etc_hostsand set it to
Uncomment this variable if it is commented out.
opsview_host_update_etc_hosts variable is not defined in your
user_vars.yml file, add the above definition to the end of your
- Add the following variable definition to a new line beneath
user_vars.yml file should now contain both of these lines:
opsview_host_update_etc_hosts: False opsview_host_resolve_groups: 
Next time you run
opsview-deploy, it will not change the
/etc/hosts files on any of your Opsview hosts. You do not need to run any playbooks to apply this new setting, it will be used automatically for all future runs of