mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-20 20:00:23 -07:00
More true/false normalization (#6152)
* More true/false normalization. * Boolean do not need explicit choices. * One more. * Fix type argument.
This commit is contained in:
parent
627371e2d8
commit
11c7611ced
48 changed files with 203 additions and 219 deletions
|
@ -100,7 +100,7 @@ powerstate:
|
|||
description: The current power state of the machine.
|
||||
returned: success and I(machine) is not provided
|
||||
type: str
|
||||
sample: on
|
||||
sample: 'on'
|
||||
status:
|
||||
description: The current power state of the machine when the machine option is set.
|
||||
returned: success and I(machine) is provided
|
||||
|
@ -132,14 +132,14 @@ EXAMPLES = '''
|
|||
name: test.testdomain.com
|
||||
user: admin
|
||||
password: password
|
||||
state: on
|
||||
state: 'on'
|
||||
|
||||
- name: Ensure machines of which remote target address is 48 and 50 are powered off
|
||||
community.general.ipmi_power:
|
||||
name: test.testdomain.com
|
||||
user: admin
|
||||
password: password
|
||||
state: off
|
||||
state: 'off'
|
||||
machine:
|
||||
- targetAddress: 48
|
||||
- targetAddress: 50
|
||||
|
@ -151,9 +151,9 @@ EXAMPLES = '''
|
|||
password: password
|
||||
machine:
|
||||
- targetAddress: 48
|
||||
state: on
|
||||
state: 'on'
|
||||
- targetAddress: 50
|
||||
state: off
|
||||
state: 'off'
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue