.. _community.windows.win_hosts_module: *************************** community.windows.win_hosts *************************** **Manages hosts file entries on Windows.** .. contents:: :local: :depth: 1 Synopsis -------- - Manages hosts file entries on Windows. - Maps IPv4 or IPv6 addresses to canonical names. - Adds, removes, or sets cname records for ip and hostname pairs. - Modifies %windir%\\system32\\drivers\\etc\\hosts. Parameters ---------- .. raw:: html