From a78a416e85a50c2bc5bb734e81816dc976a39748 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 2 Feb 2021 22:11:50 +0100 Subject: [PATCH] hostname: fix references in docs (#73454) --- lib/ansible/modules/hostname.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/hostname.py b/lib/ansible/modules/hostname.py index a1598e92ec2..3405f870b5e 100644 --- a/lib/ansible/modules/hostname.py +++ b/lib/ansible/modules/hostname.py @@ -21,7 +21,8 @@ description: - Set system's hostname. Supports most OSs/Distributions including those using C(systemd). - Windows, HP-UX, and AIX are not currently supported. notes: - - This module does B(NOT) modify C(/etc/hosts). You need to modify it yourself using other modules like M(template) or M(replace). + - This module does B(NOT) modify C(/etc/hosts). You need to modify it yourself using other modules such as M(ansible.builtin.template) + or M(ansible.builtin.replace). - On macOS, this module uses C(scutil) to set C(HostName), C(ComputerName), and C(LocalHostName). Since C(LocalHostName) cannot contain spaces or most special characters, this module will replace characters when setting C(LocalHostName). - Supports C(check_mode).