Use semantic markup (modules o-p) (#6681)

* Use semantic markup.

* Use real option, not alias.

* E() now works better.
This commit is contained in:
Felix Fontein 2023-06-15 15:48:17 +02:00 committed by GitHub
parent b271dba4bf
commit 45eb1e3915
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 420 additions and 419 deletions

View file

@ -34,12 +34,12 @@ attributes:
options:
id:
description:
- A I(id) of the template you would like to manage. If not set then a
- new template will be created with the given I(name).
- A O(id) of the template you would like to manage. If not set then a
- new template will be created with the given O(name).
type: int
name:
description:
- A I(name) of the template you would like to manage. If a template with
- A O(name) of the template you would like to manage. If a template with
- the given name does not exist it will be created, otherwise it will be
- managed by this module.
type: str
@ -49,8 +49,8 @@ options:
type: str
state:
description:
- C(present) - state that is used to manage the template.
- C(absent) - delete the template.
- V(present) - state that is used to manage the template.
- V(absent) - delete the template.
choices: ["present", "absent"]
default: present
type: str
@ -116,36 +116,36 @@ RETURN = '''
id:
description: template id
type: int
returned: when I(state=present)
returned: when O(state=present)
sample: 153
name:
description: template name
type: str
returned: when I(state=present)
returned: when O(state=present)
sample: app1
template:
description: the parsed template
type: dict
returned: when I(state=present)
returned: when O(state=present)
group_id:
description: template's group id
type: int
returned: when I(state=present)
returned: when O(state=present)
sample: 1
group_name:
description: template's group name
type: str
returned: when I(state=present)
returned: when O(state=present)
sample: one-users
owner_id:
description: template's owner id
type: int
returned: when I(state=present)
returned: when O(state=present)
sample: 143
owner_name:
description: template's owner name
type: str
returned: when I(state=present)
returned: when O(state=present)
sample: ansible-test
'''