mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
[PR #6698/ccdcf70d backport][stable-7] Use semantic markup (modules t-z) (#6722)
Use semantic markup (modules t-z) (#6698)
* Use semantic markup.
* Fix escaping.
(cherry picked from commit ccdcf70d69
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
7d7e099333
commit
91110f4933
29 changed files with 186 additions and 189 deletions
|
@ -27,7 +27,7 @@ options:
|
|||
path:
|
||||
description:
|
||||
- The full path of the file/object to get the facts of.
|
||||
- Before 2.3 this option was only usable as I(name).
|
||||
- Before 2.3 this option was only usable as O(name).
|
||||
type: path
|
||||
required: true
|
||||
aliases: [ name ]
|
||||
|
@ -42,27 +42,27 @@ options:
|
|||
type: str
|
||||
value:
|
||||
description:
|
||||
- The value to set the named name/key to, it automatically sets the I(state) to C(present).
|
||||
- The value to set the named name/key to, it automatically sets the O(state) to V(present).
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
- defines which state you want to do.
|
||||
C(read) retrieves the current value for a I(key) (default)
|
||||
C(present) sets I(path) to C(value), default if value is set
|
||||
C(all) dumps all data
|
||||
C(keys) retrieves all keys
|
||||
C(absent) deletes the key
|
||||
V(read) retrieves the current value for a O(key) (default)
|
||||
V(present) sets O(path) to O(value), default if value is set
|
||||
V(all) dumps all data
|
||||
V(keys) retrieves all keys
|
||||
V(absent) deletes the key
|
||||
type: str
|
||||
choices: [ absent, all, keys, present, read ]
|
||||
default: read
|
||||
follow:
|
||||
description:
|
||||
- If C(true), dereferences symlinks and sets/gets attributes on symlink target,
|
||||
- If V(true), dereferences symlinks and sets/gets attributes on symlink target,
|
||||
otherwise acts on symlink itself.
|
||||
type: bool
|
||||
default: true
|
||||
notes:
|
||||
- As of Ansible 2.3, the I(name) option has been changed to I(path) as default, but I(name) still works as well.
|
||||
- As of Ansible 2.3, the O(name) option has been changed to O(path) as default, but O(name) still works as well.
|
||||
author:
|
||||
- Brian Coca (@bcoca)
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue