improves pam_limits documentation (#43526)

- the man page is actually limits.conf
- uses code highlighting for these
This commit is contained in:
♫ Christian Krause ♫ 2018-08-02 09:13:24 +02:00 committed by Jordan Borean
parent 4549962f85
commit 54e1bca62a

View file

@ -20,8 +20,9 @@ author:
- "Sebastien Rohaut (@usawa)" - "Sebastien Rohaut (@usawa)"
short_description: Modify Linux PAM limits short_description: Modify Linux PAM limits
description: description:
- The C(pam_limits) module modify PAM limits, default in /etc/security/limits.conf. - The C(pam_limits) module modifies PAM limits. The default file is
For the full documentation, see man limits.conf(5). C(/etc/security/limits.conf). For the full documentation, see C(man 5
limits.conf).
options: options:
domain: domain:
description: description:
@ -29,7 +30,7 @@ options:
required: true required: true
limit_type: limit_type:
description: description:
- Limit type, see C(man limits) for an explanation - Limit type, see C(man 5 limits.conf) for an explanation
required: true required: true
choices: [ "hard", "soft", "-" ] choices: [ "hard", "soft", "-" ]
limit_item: limit_item:
@ -94,7 +95,7 @@ options:
required: false required: false
default: '' default: ''
notes: notes:
- If dest file doesn't exists, it is created. - If C(dest) file doesn't exist, it is created.
''' '''
EXAMPLES = ''' EXAMPLES = '''