mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-08 01:14:03 -07:00
defghi*: style adjustments (#9532)
* defghi*: style adjustments * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
838cdaab42
commit
8cef0ee551
26 changed files with 69 additions and 73 deletions
|
@ -33,8 +33,8 @@ attributes:
|
|||
options:
|
||||
path:
|
||||
description:
|
||||
- The original and absolute path of the file to be diverted or undiverted. This path is unique, in other words it is not possible
|
||||
to get two diversions for the same O(path).
|
||||
- The original and absolute path of the file to be diverted or undiverted. This path is unique, in other words it is
|
||||
not possible to get two diversions for the same O(path).
|
||||
required: true
|
||||
type: path
|
||||
state:
|
||||
|
@ -69,8 +69,8 @@ options:
|
|||
default: false
|
||||
force:
|
||||
description:
|
||||
- When O(rename=true) and O(force=true), renaming is performed even if the target of the renaming exists, in other words the existing
|
||||
contents of the file at this location will be lost.
|
||||
- When O(rename=true) and O(force=true), renaming is performed even if the target of the renaming exists, in other words
|
||||
the existing contents of the file at this location will be lost.
|
||||
- This parameter is ignored when O(rename=false).
|
||||
type: bool
|
||||
default: false
|
||||
|
@ -132,13 +132,7 @@ diversion:
|
|||
state:
|
||||
description: The state of the diversion.
|
||||
type: str
|
||||
sample:
|
||||
{
|
||||
"divert": "/etc/foobarrc.distrib",
|
||||
"holder": "LOCAL",
|
||||
"path": "/etc/foobarrc",
|
||||
"state": "present"
|
||||
}
|
||||
sample: {"divert": "/etc/foobarrc.distrib", "holder": "LOCAL", "path": "/etc/foobarrc", "state": "present"}
|
||||
"""
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue