mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-20 02:39:02 +00:00
Fix M(). (#591)
* Fix M(). * Break long line. * Fix the remaining M(...). * Break long line.
This commit is contained in:
parent
e3d36a3408
commit
097aebadb0
126 changed files with 155 additions and 198 deletions
|
|
@ -15,7 +15,7 @@ short_description: Tweak settings in /etc/network/interfaces files
|
|||
extends_documentation_fragment: files
|
||||
description:
|
||||
- Manage (add, remove, change) individual interface options in an interfaces-style file without having
|
||||
to manage the file as a whole with, say, M(template) or M(assemble). Interface has to be presented in a file.
|
||||
to manage the file as a whole with, say, M(ansible.builtin.template) or M(ansible.builtin.assemble). Interface has to be presented in a file.
|
||||
- Read information about interfaces from interfaces-styled files
|
||||
options:
|
||||
dest:
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ DOCUMENTATION = '''
|
|||
module: ohai
|
||||
short_description: Returns inventory data from I(Ohai)
|
||||
description:
|
||||
- Similar to the M(facter) module, this runs the I(Ohai) discovery program
|
||||
- Similar to the M(community.general.facter) module, this runs the I(Ohai) discovery program
|
||||
(U(https://docs.chef.io/ohai.html)) on the remote host and
|
||||
returns JSON inventory data.
|
||||
I(Ohai) data is a bit more verbose and nested than I(facter).
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ options:
|
|||
default: no
|
||||
notes:
|
||||
- The changes are persistent across reboots.
|
||||
- The M(sefcontext) module does not modify existing files to the new
|
||||
- The M(community.general.sefcontext) module does not modify existing files to the new
|
||||
SELinux context(s), so it is advisable to first create the SELinux
|
||||
file contexts before creating files, or run C(restorecon) manually
|
||||
for the existing files that require the new SELinux file contexts.
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@ DOCUMENTATION = r'''
|
|||
module: timezone
|
||||
short_description: Configure timezone setting
|
||||
description:
|
||||
- This module configures the timezone setting, both of the system clock and of the hardware clock. If you want to set up the NTP, use M(service) module.
|
||||
- This module configures the timezone setting, both of the system clock and of the hardware clock.
|
||||
If you want to set up the NTP, use M(ansible.builtin.service) module.
|
||||
- It is recommended to restart C(crond) after changing the timezone, otherwise the jobs may run at the wrong time.
|
||||
- Several different tools are used depending on the OS/Distribution involved.
|
||||
For Linux it can use C(timedatectl) or edit C(/etc/sysconfig/clock) or C(/etc/timezone) and C(hwclock).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue