hostname: fix references in docs (#73454)

This commit is contained in:
Felix Fontein 2021-02-02 22:11:50 +01:00 committed by GitHub
parent 69631da889
commit a78a416e85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,8 @@ description:
- Set system's hostname. Supports most OSs/Distributions including those using C(systemd). - Set system's hostname. Supports most OSs/Distributions including those using C(systemd).
- Windows, HP-UX, and AIX are not currently supported. - Windows, HP-UX, and AIX are not currently supported.
notes: 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) - 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). cannot contain spaces or most special characters, this module will replace characters when setting C(LocalHostName).
- Supports C(check_mode). - Supports C(check_mode).