[PR #6683/eff0cb0e backport][stable-7] Use semantic markup (modules r-s) (#6707)

Use semantic markup (modules r-s) (#6683)

* Use semantic markup.

* Use 'ignore:' for alias reference.

* Ignore sanity errors for older ansible-core versions.

* Improve markup for RHSM modules.

Co-authored-by: Pino Toscano <ptoscano@redhat.com>

* 'ignore:' is no longer needed.

* E() now works better.

---------

Co-authored-by: Pino Toscano <ptoscano@redhat.com>
(cherry picked from commit eff0cb0ed9)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2023-06-15 19:05:11 +02:00 committed by GitHub
commit 34c4b1f367
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 311 additions and 303 deletions

View file

@ -29,7 +29,7 @@ options:
state:
type: str
description:
- Ensure that a check with this C(label) exists or does not exist.
- Ensure that a check with this O(label) exists or does not exist.
choices: ["present", "absent"]
default: present
entity_id:
@ -50,27 +50,27 @@ options:
that have a non-null C(agent_id).
- |
Choices for this option are:
- C(remote.dns)
- C(remote.ftp-banner)
- C(remote.http)
- C(remote.imap-banner)
- C(remote.mssql-banner)
- C(remote.mysql-banner)
- C(remote.ping)
- C(remote.pop3-banner)
- C(remote.postgresql-banner)
- C(remote.smtp-banner)
- C(remote.smtp)
- C(remote.ssh)
- C(remote.tcp)
- C(remote.telnet-banner)
- C(agent.filesystem)
- C(agent.memory)
- C(agent.load_average)
- C(agent.cpu)
- C(agent.disk)
- C(agent.network)
- C(agent.plugin)
- V(remote.dns)
- V(remote.ftp-banner)
- V(remote.http)
- V(remote.imap-banner)
- V(remote.mssql-banner)
- V(remote.mysql-banner)
- V(remote.ping)
- V(remote.pop3-banner)
- V(remote.postgresql-banner)
- V(remote.smtp-banner)
- V(remote.smtp)
- V(remote.ssh)
- V(remote.tcp)
- V(remote.telnet-banner)
- V(agent.filesystem)
- V(agent.memory)
- V(agent.load_average)
- V(agent.cpu)
- V(agent.disk)
- V(agent.network)
- V(agent.plugin)
required: true
monitoring_zones_poll:
type: str
@ -81,15 +81,15 @@ options:
target_hostname:
type: str
description:
- One of I(target_hostname) and I(target_alias) is required for remote.* checks,
- One of O(target_hostname) and O(target_alias) is required for remote.* checks,
but prohibited for agent.* checks. The hostname this check should target.
Must be a valid IPv4, IPv6, or FQDN.
target_alias:
type: str
description:
- One of I(target_alias) and I(target_hostname) is required for remote.* checks,
- One of O(target_alias) and O(target_hostname) is required for remote.* checks,
but prohibited for agent.* checks. Use the corresponding key in the entity's
I(ip_addresses) hash to resolve an IP address to target.
C(ip_addresses) hash to resolve an IP address to target.
details:
type: dict
default: {}
@ -99,7 +99,7 @@ options:
256 items.
disabled:
description:
- If C(true), ensure the check is created, but don't actually use it yet.
- If V(true), ensure the check is created, but don't actually use it yet.
type: bool
default: false
metadata: