[PR #10172/9e317089 backport][stable-10] apache2_mod_proxy: adjust docs (#10173)

apache2_mod_proxy: adjust docs (#10172)

(cherry picked from commit 9e317089a8)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2025-05-25 10:23:42 +02:00
committed by GitHub
parent b3eadab36a
commit 7a0428d7e6

View File

@@ -41,8 +41,8 @@ options:
description: description:
- (IPv4|IPv6|FQDN) of the balancer member to get or to set attributes to. Port number is autodetected and should not - (IPv4|IPv6|FQDN) of the balancer member to get or to set attributes to. Port number is autodetected and should not
be specified here. be specified here.
- If undefined, the M(community.general.apache2_mod_proxy) module will return a members list of dictionaries of all the current - If undefined, the M(community.general.apache2_mod_proxy) module returns a members list of dictionaries of all the
balancer pool members' attributes. current balancer pool members' attributes.
state: state:
type: list type: list
elements: str elements: str
@@ -116,9 +116,10 @@ member:
description: Specific balancer member information dictionary, returned when the module is invoked with O(member_host) parameter. description: Specific balancer member information dictionary, returned when the module is invoked with O(member_host) parameter.
type: dict type: dict
returned: success returned: success
sample: sample: |
{"attributes": {
{"Busy": "0", "attributes": {
"Busy": "0",
"Elected": "42", "Elected": "42",
"Factor": "1", "Factor": "1",
"From": "136K", "From": "136K",
@@ -148,8 +149,10 @@ members:
O(state) args. O(state) args.
returned: success returned: success
type: list type: list
sample: sample: |-
[{"attributes": { [
{
"attributes": {
"Busy": "0", "Busy": "0",
"Elected": "42", "Elected": "42",
"Factor": "1", "Factor": "1",
@@ -175,7 +178,8 @@ members:
"ignore_errors": false "ignore_errors": false
} }
}, },
{"attributes": { {
"attributes": {
"Busy": "0", "Busy": "0",
"Elected": "42", "Elected": "42",
"Factor": "1", "Factor": "1",
@@ -198,7 +202,8 @@ members:
"disabled": false, "disabled": false,
"drained": false, "drained": false,
"hot_standby": false, "hot_standby": false,
"ignore_errors": false} "ignore_errors": false
}
} }
] ]
""" """