mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-29 20:39:09 -07:00
Fix docs. (#5063)
This commit is contained in:
parent
4eb3540c8e
commit
f67473024d
22 changed files with 72 additions and 96 deletions
|
@ -114,21 +114,13 @@ commands:
|
|||
type: list
|
||||
returned: on_success
|
||||
elements: str
|
||||
sample: |-
|
||||
[
|
||||
"/usr/bin/dpkg-divert --no-rename --remove /etc/foobarrc",
|
||||
"/usr/bin/dpkg-divert --package ansible --no-rename --add /etc/foobarrc"
|
||||
]
|
||||
sample: "/usr/bin/dpkg-divert --no-rename --remove /etc/foobarrc"
|
||||
messages:
|
||||
description: The dpkg-divert relevant messages (stdout or stderr).
|
||||
type: list
|
||||
returned: on_success
|
||||
elements: str
|
||||
sample: |-
|
||||
[
|
||||
"Removing 'local diversion of /etc/foobarrc to /etc/foobarrc.distrib'",
|
||||
"Adding 'diversion of /etc/foobarrc to /etc/foobarrc.distrib by ansible'"
|
||||
]
|
||||
sample: "Removing 'local diversion of /etc/foobarrc to /etc/foobarrc.distrib'"
|
||||
diversion:
|
||||
description: The status of the diversion after task execution.
|
||||
type: dict
|
||||
|
@ -146,11 +138,11 @@ diversion:
|
|||
state:
|
||||
description: The state of the diversion.
|
||||
type: str
|
||||
sample: |-
|
||||
sample:
|
||||
{
|
||||
"divert": "/etc/foobarrc.distrib",
|
||||
"holder": "LOCAL",
|
||||
"path": "/etc/foobarrc"
|
||||
"path": "/etc/foobarrc",
|
||||
"state": "present"
|
||||
}
|
||||
'''
|
||||
|
|
|
@ -147,7 +147,7 @@ status:
|
|||
description: [] # FIXME
|
||||
returned: success
|
||||
type: list
|
||||
sample: '[]'
|
||||
sample: []
|
||||
DaemontoolsEncoreState:
|
||||
description: [] # FIXME
|
||||
returned: success
|
||||
|
@ -192,7 +192,7 @@ status:
|
|||
description: [] # FIXME
|
||||
returned: success
|
||||
type: list
|
||||
sample: '[]'
|
||||
sample: []
|
||||
RestartExitStatusCode:
|
||||
description: [] # FIXME
|
||||
returned: success
|
||||
|
|
|
@ -226,34 +226,6 @@ change_count:
|
|||
type: int
|
||||
sample: 1
|
||||
returned: success
|
||||
new_rule:
|
||||
description: The changes to the rule. This was available in Ansible 2.4 and Ansible 2.5. It was removed in Ansible 2.6.
|
||||
type: str
|
||||
sample: None None None sha512 shadow try_first_pass use_authtok
|
||||
returned: success
|
||||
updated_rule_(n):
|
||||
description: The rule(s) that was/were changed. This is only available in
|
||||
Ansible 2.4 and was removed in Ansible 2.5.
|
||||
type: str
|
||||
sample:
|
||||
- password sufficient pam_unix.so sha512 shadow try_first_pass
|
||||
use_authtok
|
||||
returned: success
|
||||
action:
|
||||
description:
|
||||
- "That action that was taken and is one of: update_rule,
|
||||
insert_before_rule, insert_after_rule, args_present, args_absent,
|
||||
absent. This was available in Ansible 2.4 and removed in Ansible 2.8"
|
||||
returned: always
|
||||
type: str
|
||||
sample: "update_rule"
|
||||
dest:
|
||||
description:
|
||||
- "Path to pam.d service that was changed. This is only available in
|
||||
Ansible 2.3 and was removed in Ansible 2.4."
|
||||
returned: success
|
||||
type: str
|
||||
sample: "/etc/pam.d/system-auth"
|
||||
backupdest:
|
||||
description:
|
||||
- "The file name of the backup file, if created."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue