mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-23 04:09:04 +00:00
Fix Ansible documentation in part of example formatting. Part 2 (#333)
* Fix Ansible documentation in part of example formatting * fix * Revert osx_defaults.py
This commit is contained in:
parent
328319b926
commit
327832dcbb
30 changed files with 299 additions and 268 deletions
|
|
@ -46,8 +46,8 @@ notes:
|
|||
'''
|
||||
|
||||
EXAMPLES = r'''
|
||||
# Task to gather facts from a HP iLO interface only if the system is an HP server
|
||||
- hpilo_info:
|
||||
- name: Gather facts from a HP iLO interface only if the system is an HP server
|
||||
hpilo_info:
|
||||
host: YOUR_ILO_ADDRESS
|
||||
login: YOUR_ILO_LOGIN
|
||||
password: YOUR_ILO_PASSWORD
|
||||
|
|
|
|||
|
|
@ -88,15 +88,15 @@ uefimode:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Ensure bootdevice is HD.
|
||||
- ipmi_boot:
|
||||
- name: Ensure bootdevice is HD
|
||||
ipmi_boot:
|
||||
name: test.testdomain.com
|
||||
user: admin
|
||||
password: password
|
||||
bootdev: hd
|
||||
|
||||
# Ensure bootdevice is not Network
|
||||
- ipmi_boot:
|
||||
- name: Ensure bootdevice is not Network
|
||||
ipmi_boot:
|
||||
name: test.testdomain.com
|
||||
user: admin
|
||||
password: password
|
||||
|
|
|
|||
|
|
@ -60,8 +60,8 @@ powerstate:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Ensure machine is powered on.
|
||||
- ipmi_power:
|
||||
- name: Ensure machine is powered on
|
||||
ipmi_power:
|
||||
name: test.testdomain.com
|
||||
user: admin
|
||||
password: password
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue