summaryrefslogtreecommitdiffstats
path: root/ansible_collections/community/general/plugins/modules/haproxy.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:52:22 +0000
commit38b7c80217c4e72b1d8988eb1e60bb6e77334114 (patch)
tree356e9fd3762877d07cde52d21e77070aeff7e789 /ansible_collections/community/general/plugins/modules/haproxy.py
parentAdding upstream version 7.7.0+dfsg. (diff)
downloadansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.tar.xz
ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.zip
Adding upstream version 9.4.0+dfsg.upstream/9.4.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/community/general/plugins/modules/haproxy.py')
-rw-r--r--ansible_collections/community/general/plugins/modules/haproxy.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/ansible_collections/community/general/plugins/modules/haproxy.py b/ansible_collections/community/general/plugins/modules/haproxy.py
index 56f987d80..05f52d55c 100644
--- a/ansible_collections/community/general/plugins/modules/haproxy.py
+++ b/ansible_collections/community/general/plugins/modules/haproxy.py
@@ -65,7 +65,7 @@ options:
state:
description:
- Desired state of the provided backend host.
- - Note that C(drain) state was added in version 2.4.
+ - Note that V(drain) state was added in version 2.4.
- It is supported only by HAProxy version 1.5 or later,
- When used on versions < 1.5, it will be ignored.
type: str
@@ -73,13 +73,13 @@ options:
choices: [ disabled, drain, enabled ]
agent:
description:
- - Disable/enable agent checks (depending on I(state) value).
+ - Disable/enable agent checks (depending on O(state) value).
type: bool
default: false
version_added: 1.0.0
health:
description:
- - Disable/enable health checks (depending on I(state) value).
+ - Disable/enable health checks (depending on O(state) value).
type: bool
default: false
version_added: "1.0.0"
@@ -90,8 +90,8 @@ options:
default: false
wait:
description:
- - Wait until the server reports a status of C(UP) when I(state=enabled),
- status of C(MAINT) when I(state=disabled) or status of C(DRAIN) when I(state=drain).
+ - Wait until the server reports a status of C(UP) when O(state=enabled),
+ status of C(MAINT) when O(state=disabled) or status of C(DRAIN) when O(state=drain).
type: bool
default: false
wait_interval:
@@ -107,7 +107,7 @@ options:
weight:
description:
- The value passed in argument.
- - If the value ends with the C(%) sign, then the new weight will be
+ - If the value ends with the V(%) sign, then the new weight will be
relative to the initially configured weight.
- Relative weights are only permitted between 0 and 100% and absolute
weights are permitted between 0 and 256.