mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user