mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* Fix for #42000: ovirt_host_pm ignores slot parameter * Fix for #42000: ovirt_host_pm ignores slot parameter * Remove non-required slot parameter
This commit is contained in:
parent
2c9cbae3f9
commit
577306e74b
1 changed files with 16 additions and 6 deletions
|
@ -61,13 +61,10 @@ options:
|
||||||
port:
|
port:
|
||||||
description:
|
description:
|
||||||
- "Power management interface port."
|
- "Power management interface port."
|
||||||
slot:
|
|
||||||
description:
|
|
||||||
- "Power management slot."
|
|
||||||
options:
|
options:
|
||||||
description:
|
description:
|
||||||
- "Dictionary of additional fence agent options."
|
- "Dictionary of additional fence agent options (including Power Management slot)."
|
||||||
- "Additional information about options can be found at U(https://fedorahosted.org/cluster/wiki/FenceArguments)."
|
- "Additional information about options can be found at U(https://github.com/ClusterLabs/fence-agents/blob/master/doc/FenceAgentAPI.md)."
|
||||||
encrypt_options:
|
encrypt_options:
|
||||||
description:
|
description:
|
||||||
- "If (true) options will be encrypted when send to agent."
|
- "If (true) options will be encrypted when send to agent."
|
||||||
|
@ -95,6 +92,20 @@ EXAMPLES = '''
|
||||||
port: 3333
|
port: 3333
|
||||||
type: ipmilan
|
type: ipmilan
|
||||||
|
|
||||||
|
# Add fence agent to host 'myhost' using 'slot' option
|
||||||
|
- ovirt_host_pm:
|
||||||
|
name: myhost
|
||||||
|
address: 1.2.3.4
|
||||||
|
options:
|
||||||
|
myoption1: x
|
||||||
|
myoption2: y
|
||||||
|
slot: myslot
|
||||||
|
username: admin
|
||||||
|
password: admin
|
||||||
|
port: 3333
|
||||||
|
type: ipmilan
|
||||||
|
|
||||||
|
|
||||||
# Remove ipmilan fence agent with address 1.2.3.4 on host 'myhost'
|
# Remove ipmilan fence agent with address 1.2.3.4 on host 'myhost'
|
||||||
- ovirt_host_pm:
|
- ovirt_host_pm:
|
||||||
state: absent
|
state: absent
|
||||||
|
@ -190,7 +201,6 @@ def main():
|
||||||
type=dict(default=None),
|
type=dict(default=None),
|
||||||
port=dict(default=None, type='int'),
|
port=dict(default=None, type='int'),
|
||||||
order=dict(default=None, type='int'),
|
order=dict(default=None, type='int'),
|
||||||
slot=dict(default=None),
|
|
||||||
options=dict(default=None, type='dict'),
|
options=dict(default=None, type='dict'),
|
||||||
encrypt_options=dict(default=None, type='bool', aliases=['encrypt']),
|
encrypt_options=dict(default=None, type='bool', aliases=['encrypt']),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue