1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-21 03:09:04 +00:00

modules: fix examples to use FQCN (#644)

* modules: fix examples to use FQCN

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-13 22:50:31 +03:00 committed by GitHub
parent 8b92e0454d
commit 41cfdda6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
533 changed files with 2130 additions and 2130 deletions

View file

@ -52,7 +52,7 @@ notes:
EXAMPLES = r'''
- name: Commit Cobbler changes
cobbler_sync:
community.general.cobbler_sync:
host: cobbler01
username: cobbler
password: MySuperSecureP4sswOrd

View file

@ -71,7 +71,7 @@ notes:
EXAMPLES = r'''
- name: Ensure the system exists in Cobbler
cobbler_system:
community.general.cobbler_system:
host: cobbler01
username: cobbler
password: MySuperSecureP4sswOrd
@ -87,7 +87,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Enable network boot in Cobbler
cobbler_system:
community.general.cobbler_system:
host: bdsol-aci-cobbler-01
username: cobbler
password: ins3965!
@ -98,7 +98,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Query all systems in Cobbler
cobbler_system:
community.general.cobbler_system:
host: cobbler01
username: cobbler
password: MySuperSecureP4sswOrd
@ -107,7 +107,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Query a specific system in Cobbler
cobbler_system:
community.general.cobbler_system:
host: cobbler01
username: cobbler
password: MySuperSecureP4sswOrd
@ -117,7 +117,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Ensure the system does not exist in Cobbler
cobbler_system:
community.general.cobbler_system:
host: cobbler01
username: cobbler
password: MySuperSecureP4sswOrd

View file

@ -81,7 +81,7 @@ author: "Rajeev Arakkal (@rajeevarakkal)"
EXAMPLES = """
---
- name: Update firmware from repository on a Network Share
idrac_firmware:
community.general.idrac_firmware:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"

View file

@ -106,7 +106,7 @@ author: "Jagadeesh N V(@jagadeeshnv)"
EXAMPLES = r'''
---
- name: Import Server Configuration Profile from a network share
idrac_server_config_profile:
community.general.idrac_server_config_profile:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
@ -119,7 +119,7 @@ EXAMPLES = r'''
job_wait: True
- name: Import Server Configuration Profile from a local path
idrac_server_config_profile:
community.general.idrac_server_config_profile:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
@ -132,7 +132,7 @@ EXAMPLES = r'''
job_wait: True
- name: Export Server Configuration Profile to a network share
idrac_server_config_profile:
community.general.idrac_server_config_profile:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
@ -142,7 +142,7 @@ EXAMPLES = r'''
job_wait: False
- name: Export Server Configuration Profile to a local path
idrac_server_config_profile:
community.general.idrac_server_config_profile:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"

View file

@ -85,13 +85,13 @@ author: "Sajna Shetty(@Sajna-Shetty)"
EXAMPLES = """
---
- name: Retrieve basic inventory of all devices.
ome_device_info:
community.general.ome_device_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
- name: Retrieve basic inventory for devices identified by IDs 33333 or 11111 using filtering.
ome_device_info:
community.general.ome_device_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
@ -100,7 +100,7 @@ EXAMPLES = """
filter: "Id eq 33333 or Id eq 11111"
- name: Retrieve inventory details of specified devices identified by IDs 11111 and 22222.
ome_device_info:
community.general.ome_device_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
@ -111,7 +111,7 @@ EXAMPLES = """
- 22222
- name: Retrieve inventory details of specified devices identified by service tags MXL1234 and MXL4567.
ome_device_info:
community.general.ome_device_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
@ -122,7 +122,7 @@ EXAMPLES = """
- MXL4567
- name: Retrieve details of specified inventory type of specified devices identified by ID and service tags.
ome_device_info:
community.general.ome_device_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
@ -136,7 +136,7 @@ EXAMPLES = """
inventory_type: "serverDeviceCards"
- name: Retrieve subsystem health of specified devices identified by service tags.
ome_device_info:
community.general.ome_device_info:
hostname: "192.168.0.1"
username: "username"
password: "password"

View file

@ -53,7 +53,7 @@ options:
EXAMPLES = '''
- name: Create CI Organization
foreman:
community.general.foreman:
username: admin
password: admin
server_url: https://fakeserver.com

View file

@ -106,7 +106,7 @@ EXAMPLES = '''
# Simple Example:
- name: Create Product
katello:
community.general.katello:
username: admin
password: admin
server_url: https://fakeserver.com
@ -119,7 +119,7 @@ EXAMPLES = '''
# katello.yml
---
- name: "{{ name }}"
katello:
community.general.katello:
username: admin
password: admin
server_url: https://fakeserver.com
@ -199,7 +199,7 @@ EXAMPLES = '''
# So you should use a "until success" loop to catch this.
- name: Promote Contentview Environment with increased Timeout
katello:
community.general.katello:
username: ansibleuser
password: supersecret
task_timeout: 10800

View file

@ -73,7 +73,7 @@ notes:
EXAMPLES = r'''
- name: Task to boot a system using an ISO from an HP iLO interface only if the system is an HP server
hpilo_boot:
community.general.hpilo_boot:
host: YOUR_ILO_ADDRESS
login: YOUR_ILO_LOGIN
password: YOUR_ILO_PASSWORD
@ -83,7 +83,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Power off a server
hpilo_boot:
community.general.hpilo_boot:
host: YOUR_ILO_HOST
login: YOUR_ILO_LOGIN
password: YOUR_ILO_PASSWORD

View file

@ -47,7 +47,7 @@ notes:
EXAMPLES = r'''
- name: Gather facts from a HP iLO interface only if the system is an HP server
hpilo_info:
community.general.hpilo_info:
host: YOUR_ILO_ADDRESS
login: YOUR_ILO_LOGIN
password: YOUR_ILO_PASSWORD

View file

@ -60,11 +60,11 @@ EXAMPLES = r'''
dest: /tmp/enable-ssh.xml
- name: Configure HP iLO using enable-ssh.xml
hponcfg:
community.general.hponcfg:
src: /tmp/enable-ssh.xml
- name: Configure HP iLO on VMware ESXi hypervisor
hponcfg:
community.general.hponcfg:
src: /tmp/enable-ssh.xml
executable: /opt/hp/tools/hponcfg
'''

View file

@ -81,7 +81,7 @@ notes:
EXAMPLES = r'''
- name: Power down server
imc_rest:
community.general.imc_rest:
hostname: '{{ imc_hostname }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
@ -93,7 +93,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Configure IMC using multiple XML fragments
imc_rest:
community.general.imc_rest:
hostname: '{{ imc_hostname }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
@ -118,7 +118,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Enable PXE boot and power-cycle server
imc_rest:
community.general.imc_rest:
hostname: '{{ imc_hostname }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
@ -136,7 +136,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Reconfigure IMC to boot from storage
imc_rest:
community.general.imc_rest:
hostname: '{{ imc_host }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
@ -148,7 +148,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Add customer description to server
imc_rest:
community.general.imc_rest:
hostname: '{{ imc_host }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
@ -160,7 +160,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Disable HTTP and increase session timeout to max value 10800 secs
imc_rest:
community.general.imc_rest:
hostname: '{{ imc_host }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'

View file

@ -89,14 +89,14 @@ uefimode:
EXAMPLES = '''
- name: Ensure bootdevice is HD
ipmi_boot:
community.general.ipmi_boot:
name: test.testdomain.com
user: admin
password: password
bootdev: hd
- name: Ensure bootdevice is not Network
ipmi_boot:
community.general.ipmi_boot:
name: test.testdomain.com
user: admin
password: password

View file

@ -61,7 +61,7 @@ powerstate:
EXAMPLES = '''
- name: Ensure machine is powered on
ipmi_power:
community.general.ipmi_power:
name: test.testdomain.com
user: admin
password: password

View file

@ -42,14 +42,14 @@ extends_documentation_fragment:
EXAMPLES = '''
# get all cmms info
- name: Get nodes data from LXCA
lxca_cmms:
community.general.lxca_cmms:
login_user: USERID
login_password: Password
auth_url: "https://10.243.15.168"
# get specific cmms info by uuid
- name: Get nodes data from LXCA
lxca_cmms:
community.general.lxca_cmms:
login_user: USERID
login_password: Password
auth_url: "https://10.243.15.168"
@ -58,7 +58,7 @@ EXAMPLES = '''
# get specific cmms info by chassis uuid
- name: Get nodes data from LXCA
lxca_cmms:
community.general.lxca_cmms:
login_user: USERID
login_password: Password
auth_url: "https://10.243.15.168"

View file

@ -44,7 +44,7 @@ extends_documentation_fragment:
EXAMPLES = '''
# get all nodes info
- name: Get nodes data from LXCA
lxca_nodes:
community.general.lxca_nodes:
login_user: USERID
login_password: Password
auth_url: "https://10.243.15.168"
@ -52,7 +52,7 @@ EXAMPLES = '''
# get specific nodes info by uuid
- name: Get nodes data from LXCA
lxca_nodes:
community.general.lxca_nodes:
login_user: USERID
login_password: Password
auth_url: "https://10.243.15.168"
@ -61,7 +61,7 @@ EXAMPLES = '''
# get specific nodes info by chassis uuid
- name: Get nodes data from LXCA
lxca_nodes:
community.general.lxca_nodes:
login_user: USERID
login_password: Password
auth_url: "https://10.243.15.168"
@ -70,7 +70,7 @@ EXAMPLES = '''
# get managed nodes
- name: Get nodes data from LXCA
lxca_nodes:
community.general.lxca_nodes:
login_user: USERID
login_password: Password
auth_url: "https://10.243.15.168"
@ -78,7 +78,7 @@ EXAMPLES = '''
# get unmanaged nodes
- name: Get nodes data from LXCA
lxca_nodes:
community.general.lxca_nodes:
login_user: USERID
login_password: Password
auth_url: "https://10.243.15.168"

View file

@ -47,7 +47,7 @@ options:
EXAMPLES = '''
- name: Add an alert profile to ManageIQ
manageiq_alert_profiles:
community.general.manageiq_alert_profiles:
state: present
name: Test profile
resource_type: ContainerNode
@ -61,7 +61,7 @@ EXAMPLES = '''
validate_certs: False
- name: Delete an alert profile from ManageIQ
manageiq_alert_profiles:
community.general.manageiq_alert_profiles:
state: absent
name: Test profile
manageiq_connection:

View file

@ -59,7 +59,7 @@ options:
EXAMPLES = '''
- name: Add an alert with a "hash expression" to ManageIQ
manageiq_alerts:
community.general.manageiq_alerts:
state: present
description: Test Alert 01
options:
@ -80,7 +80,7 @@ EXAMPLES = '''
validate_certs: False
- name: Add an alert with a "miq expression" to ManageIQ
manageiq_alerts:
community.general.manageiq_alerts:
state: present
description: Test Alert 02
options:
@ -107,7 +107,7 @@ EXAMPLES = '''
validate_certs: False
- name: Delete an alert from ManageIQ
manageiq_alerts:
community.general.manageiq_alerts:
state: absent
description: Test Alert 01
manageiq_connection:

View file

@ -95,7 +95,7 @@ options:
EXAMPLES = '''
- name: Create a group in ManageIQ with the role EvmRole-user and tenant 'my_tenant'
manageiq_group:
community.general.manageiq_group:
description: 'MyGroup-user'
role: 'EvmRole-user'
tenant: 'my_tenant'
@ -106,7 +106,7 @@ EXAMPLES = '''
validate_certs: False
- name: Create a group in ManageIQ with the role EvmRole-user and tenant with tenant_id 4
manageiq_group:
community.general.manageiq_group:
description: 'MyGroup-user'
role: 'EvmRole-user'
tenant_id: 4
@ -120,7 +120,7 @@ EXAMPLES = '''
- Create or update a group in ManageIQ with the role EvmRole-user and tenant my_tenant.
- Apply 3 prov_max_cpu and 2 department tags to the group.
- Limit access to a cluster for the group.
manageiq_group:
community.general.manageiq_group:
description: 'MyGroup-user'
role: 'EvmRole-user'
tenant: my_tenant
@ -143,7 +143,7 @@ EXAMPLES = '''
validate_certs: False
- name: Delete a group in ManageIQ
manageiq_group:
community.general.manageiq_group:
state: 'absent'
description: 'MyGroup-user'
manageiq_connection:
@ -152,7 +152,7 @@ EXAMPLES = '''
password: 'smartvm'
- name: Delete a group in ManageIQ using a token
manageiq_group:
community.general.manageiq_group:
state: 'absent'
description: 'MyGroup-user'
manageiq_connection:

View file

@ -47,7 +47,7 @@ options:
EXAMPLES = '''
- name: Assign new policy_profile for a provider in ManageIQ
manageiq_policies:
community.general.manageiq_policies:
resource_name: 'EngLab'
resource_type: 'provider'
policy_profiles:
@ -59,7 +59,7 @@ EXAMPLES = '''
validate_certs: False
- name: Unassign a policy_profile for a provider in ManageIQ
manageiq_policies:
community.general.manageiq_policies:
state: absent
resource_name: 'EngLab'
resource_type: 'provider'
@ -72,7 +72,7 @@ EXAMPLES = '''
validate_certs: False
- name: List current policy_profile and policies for a provider in ManageIQ
manageiq_policies:
community.general.manageiq_policies:
state: list
resource_name: 'EngLab'
resource_type: 'provider'

View file

@ -143,7 +143,7 @@ options:
EXAMPLES = '''
- name: Create a new provider in ManageIQ ('Hawkular' metrics)
manageiq_provider:
community.general.manageiq_provider:
name: 'EngLab'
type: 'OpenShift'
state: 'present'
@ -206,7 +206,7 @@ EXAMPLES = '''
- name: Update an existing provider named 'EngLab' (defaults to 'Prometheus' metrics)
manageiq_provider:
community.general.manageiq_provider:
name: 'EngLab'
type: 'Openshift'
state: 'present'
@ -268,7 +268,7 @@ EXAMPLES = '''
- name: Delete a provider in ManageIQ
manageiq_provider:
community.general.manageiq_provider:
name: 'EngLab'
type: 'Openshift'
state: 'absent'
@ -280,7 +280,7 @@ EXAMPLES = '''
- name: Create a new Amazon provider in ManageIQ using token authentication
manageiq_provider:
community.general.manageiq_provider:
name: 'EngAmazon'
type: 'Amazon'
state: 'present'
@ -295,7 +295,7 @@ EXAMPLES = '''
- name: Create a new oVirt provider in ManageIQ
manageiq_provider:
community.general.manageiq_provider:
name: 'RHEV'
type: 'oVirt'
state: 'present'
@ -355,7 +355,7 @@ EXAMPLES = '''
validate_certs: true
- name: Create a new VMware provider in ManageIQ
manageiq_provider:
community.general.manageiq_provider:
name: 'EngVMware'
type: 'VMware'
state: 'present'
@ -371,7 +371,7 @@ EXAMPLES = '''
validate_certs: true
- name: Create a new Azure provider in ManageIQ
manageiq_provider:
community.general.manageiq_provider:
name: 'EngAzure'
type: 'Azure'
provider_region: 'northeurope'
@ -389,7 +389,7 @@ EXAMPLES = '''
validate_certs: false
- name: Create a new OpenStack Director provider in ManageIQ with rsa keypair
manageiq_provider:
community.general.manageiq_provider:
name: 'EngDirector'
type: 'Director'
api_version: 'v3'
@ -425,7 +425,7 @@ EXAMPLES = '''
auth_key: 'SecretSSHPrivateKey'
- name: Create a new OpenStack provider in ManageIQ with amqp metrics
manageiq_provider:
community.general.manageiq_provider:
name: 'EngOpenStack'
type: 'OpenStack'
api_version: 'v3'
@ -468,7 +468,7 @@ EXAMPLES = '''
- name: Create a new GCE provider in ManageIQ
manageiq_provider:
community.general.manageiq_provider:
name: 'EngGoogle'
type: 'GCE'
provider_region: 'europe-west1'

View file

@ -47,7 +47,7 @@ options:
EXAMPLES = '''
- name: Create new tags for a provider in ManageIQ
manageiq_tags:
community.general.manageiq_tags:
resource_name: 'EngLab'
resource_type: 'provider'
tags:
@ -62,7 +62,7 @@ EXAMPLES = '''
validate_certs: False
- name: Remove tags for a provider in ManageIQ
manageiq_tags:
community.general.manageiq_tags:
state: absent
resource_name: 'EngLab'
resource_type: 'provider'
@ -78,7 +78,7 @@ EXAMPLES = '''
validate_certs: False
- name: List current tags for a provider in ManageIQ
manageiq_tags:
community.general.manageiq_tags:
state: list
resource_name: 'EngLab'
resource_type: 'provider'

View file

@ -77,7 +77,7 @@ options:
EXAMPLES = '''
- name: Update the root tenant in ManageIQ
manageiq_tenant:
community.general.manageiq_tenant:
name: 'My Company'
description: 'My company name'
manageiq_connection:
@ -87,7 +87,7 @@ EXAMPLES = '''
validate_certs: False
- name: Create a tenant in ManageIQ
manageiq_tenant:
community.general.manageiq_tenant:
name: 'Dep1'
description: 'Manufacturing department'
parent_id: 1
@ -98,7 +98,7 @@ EXAMPLES = '''
validate_certs: False
- name: Delete a tenant in ManageIQ
manageiq_tenant:
community.general.manageiq_tenant:
state: 'absent'
name: 'Dep1'
parent_id: 1
@ -109,7 +109,7 @@ EXAMPLES = '''
validate_certs: False
- name: Set tenant quota for cpu_allocated, mem_allocated, remove quota for vms_allocated
manageiq_tenant:
community.general.manageiq_tenant:
name: 'Dep1'
parent_id: 1
quotas:
@ -124,7 +124,7 @@ EXAMPLES = '''
- name: Delete a tenant in ManageIQ using a token
manageiq_tenant:
community.general.manageiq_tenant:
state: 'absent'
name: 'Dep1'
parent_id: 1

View file

@ -64,7 +64,7 @@ options:
EXAMPLES = '''
- name: Create a new user in ManageIQ
manageiq_user:
community.general.manageiq_user:
userid: 'jdoe'
name: 'Jane Doe'
password: 'VerySecret'
@ -77,7 +77,7 @@ EXAMPLES = '''
validate_certs: False
- name: Create a new user in ManageIQ using a token
manageiq_user:
community.general.manageiq_user:
userid: 'jdoe'
name: 'Jane Doe'
password: 'VerySecret'
@ -89,7 +89,7 @@ EXAMPLES = '''
validate_certs: False
- name: Delete a user in ManageIQ
manageiq_user:
community.general.manageiq_user:
state: 'absent'
userid: 'jdoe'
manageiq_connection:
@ -99,7 +99,7 @@ EXAMPLES = '''
validate_certs: False
- name: Delete a user in ManageIQ using a token
manageiq_user:
community.general.manageiq_user:
state: 'absent'
userid: 'jdoe'
manageiq_connection:
@ -108,7 +108,7 @@ EXAMPLES = '''
validate_certs: False
- name: Update email of user in ManageIQ
manageiq_user:
community.general.manageiq_user:
userid: 'jdoe'
email: 'jaustine@example.com'
manageiq_connection:
@ -118,7 +118,7 @@ EXAMPLES = '''
validate_certs: False
- name: Update email of user in ManageIQ using a token
manageiq_user:
community.general.manageiq_user:
userid: 'jdoe'
email: 'jaustine@example.com'
manageiq_connection:

View file

@ -36,7 +36,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Gather information about all Data Centers
oneview_datacenter_info:
community.general.oneview_datacenter_info:
hostname: 172.16.101.48
username: administrator
password: my_password
@ -47,7 +47,7 @@ EXAMPLES = '''
msg: "{{ result.datacenters }}"
- name: Gather paginated, filtered and sorted information about Data Centers
oneview_datacenter_info:
community.general.oneview_datacenter_info:
hostname: 172.16.101.48
username: administrator
password: my_password
@ -62,7 +62,7 @@ EXAMPLES = '''
msg: "{{ result.datacenters }}"
- name: Gather information about a Data Center by name
oneview_datacenter_info:
community.general.oneview_datacenter_info:
hostname: 172.16.101.48
username: administrator
password: my_password
@ -74,7 +74,7 @@ EXAMPLES = '''
msg: "{{ result.datacenters }}"
- name: Gather information about the Data Center Visual Content
oneview_datacenter_info:
community.general.oneview_datacenter_info:
hostname: 172.16.101.48
username: administrator
password: my_password

View file

@ -38,7 +38,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Gather information about all Enclosures
oneview_enclosure_info:
community.general.oneview_enclosure_info:
hostname: 172.16.101.48
username: administrator
password: my_password
@ -50,7 +50,7 @@ EXAMPLES = '''
msg: "{{ result.enclosures }}"
- name: Gather paginated, filtered and sorted information about Enclosures
oneview_enclosure_info:
community.general.oneview_enclosure_info:
params:
start: 0
count: 3
@ -67,7 +67,7 @@ EXAMPLES = '''
msg: "{{ result.enclosures }}"
- name: Gather information about an Enclosure by name
oneview_enclosure_info:
community.general.oneview_enclosure_info:
name: Enclosure-Name
hostname: 172.16.101.48
username: administrator
@ -80,7 +80,7 @@ EXAMPLES = '''
msg: "{{ result.enclosures }}"
- name: Gather information about an Enclosure by name with options
oneview_enclosure_info:
community.general.oneview_enclosure_info:
name: Test-Enclosure
options:
- script # optional
@ -104,7 +104,7 @@ EXAMPLES = '''
- name: "Gather information about an Enclosure with temperature data at a resolution of one sample per day, between two
specified dates"
oneview_enclosure_info:
community.general.oneview_enclosure_info:
name: Test-Enclosure
options:
- utilization: # optional

View file

@ -38,7 +38,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Ensure that the Ethernet Network is present using the default configuration
oneview_ethernet_network:
community.general.oneview_ethernet_network:
config: '/etc/oneview/oneview_config.json'
state: present
data:
@ -47,7 +47,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Update the Ethernet Network changing bandwidth and purpose
oneview_ethernet_network:
community.general.oneview_ethernet_network:
config: '/etc/oneview/oneview_config.json'
state: present
data:
@ -59,7 +59,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Ensure that the Ethernet Network is present with name 'Renamed Ethernet Network'
oneview_ethernet_network:
community.general.oneview_ethernet_network:
config: '/etc/oneview/oneview_config.json'
state: present
data:
@ -68,7 +68,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Ensure that the Ethernet Network is absent
oneview_ethernet_network:
community.general.oneview_ethernet_network:
config: '/etc/oneview/oneview_config.json'
state: absent
data:
@ -76,7 +76,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Create Ethernet networks in bulk
oneview_ethernet_network:
community.general.oneview_ethernet_network:
config: '/etc/oneview/oneview_config.json'
state: present
data:
@ -91,7 +91,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Reset to the default network connection template
oneview_ethernet_network:
community.general.oneview_ethernet_network:
config: '/etc/oneview/oneview_config.json'
state: default_bandwidth_reset
data:

View file

@ -35,7 +35,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Gather information about all Ethernet Networks
oneview_ethernet_network_info:
community.general.oneview_ethernet_network_info:
config: /etc/oneview/oneview_config.json
delegate_to: localhost
register: result
@ -44,7 +44,7 @@ EXAMPLES = '''
msg: "{{ result.ethernet_networks }}"
- name: Gather paginated and filtered information about Ethernet Networks
oneview_ethernet_network_info:
community.general.oneview_ethernet_network_info:
config: /etc/oneview/oneview_config.json
params:
start: 1
@ -58,7 +58,7 @@ EXAMPLES = '''
msg: "{{ result.ethernet_networks }}"
- name: Gather information about an Ethernet Network by name
oneview_ethernet_network_info:
community.general.oneview_ethernet_network_info:
config: /etc/oneview/oneview_config.json
name: Ethernet network name
delegate_to: localhost
@ -68,7 +68,7 @@ EXAMPLES = '''
msg: "{{ result.ethernet_networks }}"
- name: Gather information about an Ethernet Network by name with options
oneview_ethernet_network_info:
community.general.oneview_ethernet_network_info:
config: /etc/oneview/oneview_config.json
name: eth1
options:

View file

@ -34,14 +34,14 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Ensure that the Fibre Channel Network is present using the default configuration
oneview_fc_network:
community.general.oneview_fc_network:
config: "{{ config_file_path }}"
state: present
data:
name: 'New FC Network'
- name: Ensure that the Fibre Channel Network is present with fabricType 'DirectAttach'
oneview_fc_network:
community.general.oneview_fc_network:
config: "{{ config_file_path }}"
state: present
data:
@ -49,7 +49,7 @@ EXAMPLES = '''
fabricType: 'DirectAttach'
- name: Ensure that the Fibre Channel Network is present and is inserted in the desired scopes
oneview_fc_network:
community.general.oneview_fc_network:
config: "{{ config_file_path }}"
state: present
data:
@ -59,7 +59,7 @@ EXAMPLES = '''
- '/rest/scopes/01SC123456'
- name: Ensure that the Fibre Channel Network is absent
oneview_fc_network:
community.general.oneview_fc_network:
config: "{{ config_file_path }}"
state: absent
data:

View file

@ -32,7 +32,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Gather information about all Fibre Channel Networks
oneview_fc_network_info:
community.general.oneview_fc_network_info:
config: /etc/oneview/oneview_config.json
delegate_to: localhost
register: result
@ -41,7 +41,7 @@ EXAMPLES = '''
msg: "{{ result.fc_networks }}"
- name: Gather paginated, filtered and sorted information about Fibre Channel Networks
oneview_fc_network_info:
community.general.oneview_fc_network_info:
config: /etc/oneview/oneview_config.json
params:
start: 1
@ -54,7 +54,7 @@ EXAMPLES = '''
msg: "{{ result.fc_networks }}"
- name: Gather information about a Fibre Channel Network by name
oneview_fc_network_info:
community.general.oneview_fc_network_info:
config: /etc/oneview/oneview_config.json
name: network name
delegate_to: localhost

View file

@ -36,7 +36,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Ensure that FCoE Network is present using the default configuration
oneview_fcoe_network:
community.general.oneview_fcoe_network:
config: '/etc/oneview/oneview_config.json'
state: present
data:
@ -45,7 +45,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Update the FCOE network scopes
oneview_fcoe_network:
community.general.oneview_fcoe_network:
config: '/etc/oneview/oneview_config.json'
state: present
data:
@ -56,7 +56,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Ensure that FCoE Network is absent
oneview_fcoe_network:
community.general.oneview_fcoe_network:
config: '/etc/oneview/oneview_config.json'
state: absent
data:

View file

@ -31,7 +31,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Gather information about all FCoE Networks
oneview_fcoe_network_info:
community.general.oneview_fcoe_network_info:
config: /etc/oneview/oneview_config.json
delegate_to: localhost
register: result
@ -40,7 +40,7 @@ EXAMPLES = '''
msg: "{{ result.fcoe_networks }}"
- name: Gather paginated, filtered and sorted information about FCoE Networks
oneview_fcoe_network_info:
community.general.oneview_fcoe_network_info:
config: /etc/oneview/oneview_config.json
params:
start: 0
@ -54,7 +54,7 @@ EXAMPLES = '''
msg: "{{ result.fcoe_networks }}"
- name: Gather information about a FCoE Network by name
oneview_fcoe_network_info:
community.general.oneview_fcoe_network_info:
config: /etc/oneview/oneview_config.json
name: Test FCoE Network Information
delegate_to: localhost

View file

@ -38,7 +38,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Ensure that the Logical Interconnect Group is present
oneview_logical_interconnect_group:
community.general.oneview_logical_interconnect_group:
config: /etc/oneview/oneview_config.json
state: present
data:
@ -59,7 +59,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Ensure that the Logical Interconnect Group has the specified scopes
oneview_logical_interconnect_group:
community.general.oneview_logical_interconnect_group:
config: /etc/oneview/oneview_config.json
state: present
data:
@ -70,7 +70,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Ensure that the Logical Interconnect Group is present with name 'Test'
oneview_logical_interconnect_group:
community.general.oneview_logical_interconnect_group:
config: /etc/oneview/oneview_config.json
state: present
data:
@ -79,7 +79,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Ensure that the Logical Interconnect Group is absent
oneview_logical_interconnect_group:
community.general.oneview_logical_interconnect_group:
config: /etc/oneview/oneview_config.json
state: absent
data:

View file

@ -32,7 +32,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Gather information about all Logical Interconnect Groups
oneview_logical_interconnect_group_info:
community.general.oneview_logical_interconnect_group_info:
hostname: 172.16.101.48
username: administrator
password: my_password
@ -45,7 +45,7 @@ EXAMPLES = '''
msg: "{{ result.logical_interconnect_groups }}"
- name: Gather paginated, filtered and sorted information about Logical Interconnect Groups
oneview_logical_interconnect_group_info:
community.general.oneview_logical_interconnect_group_info:
params:
start: 0
count: 3
@ -63,7 +63,7 @@ EXAMPLES = '''
msg: "{{ result.logical_interconnect_groups }}"
- name: Gather information about a Logical Interconnect Group by name
oneview_logical_interconnect_group_info:
community.general.oneview_logical_interconnect_group_info:
name: logical interconnect group name
hostname: 172.16.101.48
username: administrator

View file

@ -38,7 +38,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Create a Network Set
oneview_network_set:
community.general.oneview_network_set:
config: /etc/oneview/oneview_config.json
state: present
data:
@ -49,7 +49,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Update the Network Set name to 'OneViewSDK Test Network Set - Renamed' and change the associated networks
oneview_network_set:
community.general.oneview_network_set:
config: /etc/oneview/oneview_config.json
state: present
data:
@ -60,7 +60,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Delete the Network Set
oneview_network_set:
community.general.oneview_network_set:
config: /etc/oneview/oneview_config.json
state: absent
data:
@ -68,7 +68,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Update the Network set with two scopes
oneview_network_set:
community.general.oneview_network_set:
config: /etc/oneview/oneview_config.json
state: present
data:

View file

@ -38,7 +38,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Gather information about all Network Sets
oneview_network_set_info:
community.general.oneview_network_set_info:
hostname: 172.16.101.48
username: administrator
password: my_password
@ -51,7 +51,7 @@ EXAMPLES = '''
msg: "{{ result.network_sets }}"
- name: Gather paginated, filtered, and sorted information about Network Sets
oneview_network_set_info:
community.general.oneview_network_set_info:
hostname: 172.16.101.48
username: administrator
password: my_password
@ -69,7 +69,7 @@ EXAMPLES = '''
msg: "{{ result.network_sets }}"
- name: Gather information about all Network Sets, excluding Ethernet networks
oneview_network_set_info:
community.general.oneview_network_set_info:
hostname: 172.16.101.48
username: administrator
password: my_password
@ -84,7 +84,7 @@ EXAMPLES = '''
msg: "{{ result.network_sets }}"
- name: Gather information about a Network Set by name
oneview_network_set_info:
community.general.oneview_network_set_info:
hostname: 172.16.101.48
username: administrator
password: my_password
@ -98,7 +98,7 @@ EXAMPLES = '''
msg: "{{ result.network_sets }}"
- name: Gather information about a Network Set by name, excluding Ethernet networks
oneview_network_set_info:
community.general.oneview_network_set_info:
hostname: 172.16.101.48
username: administrator
password: my_password

View file

@ -39,7 +39,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Creates a Device Manager for the Brocade SAN provider with the given hostname and credentials
oneview_san_manager:
community.general.oneview_san_manager:
config: /etc/oneview/oneview_config.json
state: present
data:
@ -58,7 +58,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Ensure a Device Manager for the Cisco SAN Provider is present
oneview_san_manager:
community.general.oneview_san_manager:
config: /etc/oneview/oneview_config.json
state: present
data:
@ -80,7 +80,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Sets the SAN Manager connection information
oneview_san_manager:
community.general.oneview_san_manager:
config: /etc/oneview/oneview_config.json
state: connection_information_set
data:
@ -98,7 +98,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Refreshes the SAN Manager
oneview_san_manager:
community.general.oneview_san_manager:
config: /etc/oneview/oneview_config.json
state: present
data:
@ -107,7 +107,7 @@ EXAMPLES = '''
delegate_to: localhost
- name: Delete the SAN Manager recently created
oneview_san_manager:
community.general.oneview_san_manager:
config: /etc/oneview/oneview_config.json
state: absent
data:

View file

@ -38,7 +38,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Gather information about all SAN Managers
oneview_san_manager_info:
community.general.oneview_san_manager_info:
config: /etc/oneview/oneview_config.json
delegate_to: localhost
register: result
@ -47,7 +47,7 @@ EXAMPLES = '''
msg: "{{ result.san_managers }}"
- name: Gather paginated, filtered and sorted information about SAN Managers
oneview_san_manager_info:
community.general.oneview_san_manager_info:
config: /etc/oneview/oneview_config.json
params:
start: 0
@ -61,7 +61,7 @@ EXAMPLES = '''
msg: "{{ result.san_managers }}"
- name: Gather information about a SAN Manager by provider display name
oneview_san_manager_info:
community.general.oneview_san_manager_info:
config: /etc/oneview/oneview_config.json
provider_display_name: Brocade Network Advisor
delegate_to: localhost

View file

@ -58,7 +58,7 @@ author: "Jose Delarosa (@jose-delarosa)"
EXAMPLES = '''
- name: Create BIOS configuration job (schedule BIOS setting update)
idrac_redfish_command:
community.general.idrac_redfish_command:
category: Systems
command: CreateBiosConfigJob
resource_id: System.Embedded.1

View file

@ -78,7 +78,7 @@ author: "Jose Delarosa (@jose-delarosa)"
EXAMPLES = '''
- name: Enable NTP and set NTP server and Time zone attributes in iDRAC
idrac_redfish_config:
community.general.idrac_redfish_config:
category: Manager
command: SetManagerAttributes
resource_id: iDRAC.Embedded.1
@ -91,7 +91,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Enable Syslog and set Syslog servers in iDRAC
idrac_redfish_config:
community.general.idrac_redfish_config:
category: Manager
command: SetManagerAttributes
resource_id: iDRAC.Embedded.1
@ -104,7 +104,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Configure SNMP community string, port, protocol and trap format
idrac_redfish_config:
community.general.idrac_redfish_config:
category: Manager
command: SetManagerAttributes
resource_id: iDRAC.Embedded.1
@ -120,7 +120,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Enable CSIOR
idrac_redfish_config:
community.general.idrac_redfish_config:
category: Manager
command: SetLifecycleControllerAttributes
resource_id: iDRAC.Embedded.1
@ -131,7 +131,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Set Power Supply Redundancy Policy to A/B Grid Redundant
idrac_redfish_config:
community.general.idrac_redfish_config:
category: Manager
command: SetSystemAttributes
resource_id: iDRAC.Embedded.1

View file

@ -56,7 +56,7 @@ author: "Jose Delarosa (@jose-delarosa)"
EXAMPLES = '''
- name: Get Manager attributes with a default of 20 seconds
idrac_redfish_info:
community.general.idrac_redfish_info:
category: Manager
command: GetManagerAttributes
baseuri: "{{ baseuri }}"

View file

@ -198,7 +198,7 @@ author: "Jose Delarosa (@jose-delarosa)"
EXAMPLES = '''
- name: Restart system power gracefully
redfish_command:
community.general.redfish_command:
category: Systems
command: PowerGracefulRestart
resource_id: 437XR1138R2
@ -207,7 +207,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Set one-time boot device to {{ bootdevice }}
redfish_command:
community.general.redfish_command:
category: Systems
command: SetOneTimeBoot
resource_id: 437XR1138R2
@ -217,7 +217,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Set one-time boot device to UefiTarget of "/0x31/0x33/0x01/0x01"
redfish_command:
community.general.redfish_command:
category: Systems
command: SetOneTimeBoot
resource_id: 437XR1138R2
@ -228,7 +228,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Set one-time boot device to BootNext target of "Boot0001"
redfish_command:
community.general.redfish_command:
category: Systems
command: SetOneTimeBoot
resource_id: 437XR1138R2
@ -239,7 +239,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Set chassis indicator LED to blink
redfish_command:
community.general.redfish_command:
category: Chassis
command: IndicatorLedBlink
resource_id: 1U
@ -248,7 +248,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Add user
redfish_command:
community.general.redfish_command:
category: Accounts
command: AddUser
baseuri: "{{ baseuri }}"
@ -259,7 +259,7 @@ EXAMPLES = '''
roleid: "{{ roleid }}"
- name: Add user using new option aliases
redfish_command:
community.general.redfish_command:
category: Accounts
command: AddUser
baseuri: "{{ baseuri }}"
@ -270,7 +270,7 @@ EXAMPLES = '''
account_roleid: "{{ account_roleid }}"
- name: Delete user
redfish_command:
community.general.redfish_command:
category: Accounts
command: DeleteUser
baseuri: "{{ baseuri }}"
@ -279,7 +279,7 @@ EXAMPLES = '''
account_username: "{{ account_username }}"
- name: Disable user
redfish_command:
community.general.redfish_command:
category: Accounts
command: DisableUser
baseuri: "{{ baseuri }}"
@ -288,7 +288,7 @@ EXAMPLES = '''
account_username: "{{ account_username }}"
- name: Enable user
redfish_command:
community.general.redfish_command:
category: Accounts
command: EnableUser
baseuri: "{{ baseuri }}"
@ -297,7 +297,7 @@ EXAMPLES = '''
account_username: "{{ account_username }}"
- name: Add and enable user
redfish_command:
community.general.redfish_command:
category: Accounts
command: AddUser,EnableUser
baseuri: "{{ baseuri }}"
@ -308,7 +308,7 @@ EXAMPLES = '''
roleid: "{{ roleid }}"
- name: Update user password
redfish_command:
community.general.redfish_command:
category: Accounts
command: UpdateUserPassword
baseuri: "{{ baseuri }}"
@ -318,7 +318,7 @@ EXAMPLES = '''
account_password: "{{ account_password }}"
- name: Update user role
redfish_command:
community.general.redfish_command:
category: Accounts
command: UpdateUserRole
baseuri: "{{ baseuri }}"
@ -328,7 +328,7 @@ EXAMPLES = '''
roleid: "{{ roleid }}"
- name: Update user name
redfish_command:
community.general.redfish_command:
category: Accounts
command: UpdateUserName
baseuri: "{{ baseuri }}"
@ -338,7 +338,7 @@ EXAMPLES = '''
account_updatename: "{{ account_updatename }}"
- name: Update user name
redfish_command:
community.general.redfish_command:
category: Accounts
command: UpdateUserName
baseuri: "{{ baseuri }}"
@ -348,7 +348,7 @@ EXAMPLES = '''
update_username: "{{ update_username }}"
- name: Update AccountService properties
redfish_command:
community.general.redfish_command:
category: Accounts
command: UpdateAccountServiceProperties
baseuri: "{{ baseuri }}"
@ -359,7 +359,7 @@ EXAMPLES = '''
AccountLockoutDuration: 600
- name: Clear Manager Logs with a timeout of 20 seconds
redfish_command:
community.general.redfish_command:
category: Manager
command: ClearLogs
resource_id: BMC
@ -369,7 +369,7 @@ EXAMPLES = '''
timeout: 20
- name: Clear Sessions
redfish_command:
community.general.redfish_command:
category: Sessions
command: ClearSessions
baseuri: "{{ baseuri }}"
@ -377,7 +377,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Simple update
redfish_command:
community.general.redfish_command:
category: Update
command: SimpleUpdate
baseuri: "{{ baseuri }}"
@ -386,7 +386,7 @@ EXAMPLES = '''
update_image_uri: https://example.com/myupdate.img
- name: Simple update with additional options
redfish_command:
community.general.redfish_command:
category: Update
command: SimpleUpdate
baseuri: "{{ baseuri }}"
@ -401,7 +401,7 @@ EXAMPLES = '''
password: supersecretpwd
- name: Insert Virtual Media
redfish_command:
community.general.redfish_command:
category: Manager
command: VirtualMediaInsert
baseuri: "{{ baseuri }}"
@ -415,7 +415,7 @@ EXAMPLES = '''
resource_id: BMC
- name: Eject Virtual Media
redfish_command:
community.general.redfish_command:
category: Manager
command: VirtualMediaEject
baseuri: "{{ baseuri }}"

View file

@ -104,7 +104,7 @@ author: "Jose Delarosa (@jose-delarosa)"
EXAMPLES = '''
- name: Set BootMode to UEFI
redfish_config:
community.general.redfish_config:
category: Systems
command: SetBiosAttributes
resource_id: 437XR1138R2
@ -115,7 +115,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Set multiple BootMode attributes
redfish_config:
community.general.redfish_config:
category: Systems
command: SetBiosAttributes
resource_id: 437XR1138R2
@ -128,7 +128,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Enable PXE Boot for NIC1 using deprecated options
redfish_config:
community.general.redfish_config:
category: Systems
command: SetBiosAttributes
resource_id: 437XR1138R2
@ -139,7 +139,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Set BIOS default settings with a timeout of 20 seconds
redfish_config:
community.general.redfish_config:
category: Systems
command: SetBiosDefaultSettings
resource_id: 437XR1138R2
@ -149,7 +149,7 @@ EXAMPLES = '''
timeout: 20
- name: Set boot order
redfish_config:
community.general.redfish_config:
category: Systems
command: SetBootOrder
boot_order:
@ -163,7 +163,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Set boot order to the default
redfish_config:
community.general.redfish_config:
category: Systems
command: SetDefaultBootOrder
baseuri: "{{ baseuri }}"
@ -171,7 +171,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Set Manager Network Protocols
redfish_config:
community.general.redfish_config:
category: Manager
command: SetNetworkProtocols
network_protocols:
@ -186,7 +186,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Set Manager NIC
redfish_config:
community.general.redfish_config:
category: Manager
command: SetManagerNic
nic_config:

View file

@ -55,7 +55,7 @@ author: "Jose Delarosa (@jose-delarosa)"
EXAMPLES = '''
- name: Get CPU inventory
redfish_info:
community.general.redfish_info:
category: Systems
command: GetCpuInventory
baseuri: "{{ baseuri }}"
@ -66,7 +66,7 @@ EXAMPLES = '''
msg: "{{ result.redfish_facts.cpu.entries | to_nice_json }}"
- name: Get CPU model
redfish_info:
community.general.redfish_info:
category: Systems
command: GetCpuInventory
baseuri: "{{ baseuri }}"
@ -77,7 +77,7 @@ EXAMPLES = '''
msg: "{{ result.redfish_facts.cpu.entries.0.Model }}"
- name: Get memory inventory
redfish_info:
community.general.redfish_info:
category: Systems
command: GetMemoryInventory
baseuri: "{{ baseuri }}"
@ -86,7 +86,7 @@ EXAMPLES = '''
register: result
- name: Get fan inventory with a timeout of 20 seconds
redfish_info:
community.general.redfish_info:
category: Chassis
command: GetFanInventory
baseuri: "{{ baseuri }}"
@ -96,7 +96,7 @@ EXAMPLES = '''
register: result
- name: Get Virtual Media information
redfish_info:
community.general.redfish_info:
category: Manager
command: GetVirtualMedia
baseuri: "{{ baseuri }}"
@ -107,7 +107,7 @@ EXAMPLES = '''
msg: "{{ result.redfish_facts.virtual_media.entries | to_nice_json }}"
- name: Get Volume Inventory
redfish_info:
community.general.redfish_info:
category: Systems
command: GetVolumeInventory
baseuri: "{{ baseuri }}"
@ -118,7 +118,7 @@ EXAMPLES = '''
msg: "{{ result.redfish_facts.volume.entries | to_nice_json }}"
- name: Get Session information
redfish_info:
community.general.redfish_info:
category: Sessions
command: GetSessions
baseuri: "{{ baseuri }}"
@ -129,7 +129,7 @@ EXAMPLES = '''
msg: "{{ result.redfish_facts.session.entries | to_nice_json }}"
- name: Get default inventory information
redfish_info:
community.general.redfish_info:
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
@ -138,7 +138,7 @@ EXAMPLES = '''
msg: "{{ result.redfish_facts | to_nice_json }}"
- name: Get several inventories
redfish_info:
community.general.redfish_info:
category: Systems
command: GetNicInventory,GetBiosAttributes
baseuri: "{{ baseuri }}"
@ -146,21 +146,21 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get default system inventory and user information
redfish_info:
community.general.redfish_info:
category: Systems,Accounts
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
- name: Get default system, user and firmware information
redfish_info:
community.general.redfish_info:
category: ["Systems", "Accounts", "Update"]
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
- name: Get Manager NIC inventory information
redfish_info:
community.general.redfish_info:
category: Manager
command: GetManagerNicInventory
baseuri: "{{ baseuri }}"
@ -168,7 +168,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get boot override information
redfish_info:
community.general.redfish_info:
category: Systems
command: GetBootOverride
baseuri: "{{ baseuri }}"
@ -176,7 +176,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get chassis inventory
redfish_info:
community.general.redfish_info:
category: Chassis
command: GetChassisInventory
baseuri: "{{ baseuri }}"
@ -184,7 +184,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get all information available in the Manager category
redfish_info:
community.general.redfish_info:
category: Manager
command: all
baseuri: "{{ baseuri }}"
@ -192,7 +192,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get firmware update capability information
redfish_info:
community.general.redfish_info:
category: Update
command: GetFirmwareUpdateCapabilities
baseuri: "{{ baseuri }}"
@ -200,7 +200,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get firmware inventory
redfish_info:
community.general.redfish_info:
category: Update
command: GetFirmwareInventory
baseuri: "{{ baseuri }}"
@ -208,7 +208,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get software inventory
redfish_info:
community.general.redfish_info:
category: Update
command: GetSoftwareInventory
baseuri: "{{ baseuri }}"
@ -216,7 +216,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get Manager Services
redfish_info:
community.general.redfish_info:
category: Manager
command: GetNetworkProtocols
baseuri: "{{ baseuri }}"
@ -224,7 +224,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get all information available in all categories
redfish_info:
community.general.redfish_info:
category: all
command: all
baseuri: "{{ baseuri }}"
@ -232,7 +232,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get system health report
redfish_info:
community.general.redfish_info:
category: Systems
command: GetHealthReport
baseuri: "{{ baseuri }}"
@ -240,7 +240,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get chassis health report
redfish_info:
community.general.redfish_info:
category: Chassis
command: GetHealthReport
baseuri: "{{ baseuri }}"
@ -248,7 +248,7 @@ EXAMPLES = '''
password: "{{ password }}"
- name: Get manager health report
redfish_info:
community.general.redfish_info:
category: Manager
command: GetHealthReport
baseuri: "{{ baseuri }}"

View file

@ -52,7 +52,7 @@ author:
EXAMPLES = '''
- name: Add a host named test-1
stacki_host:
community.general.stacki_host:
name: test-1
stacki_user: usr
stacki_password: pwd
@ -62,7 +62,7 @@ EXAMPLES = '''
prim_intf: eth0
- name: Remove a host named test-1
stacki_host:
community.general.stacki_host:
name: test-1
stacki_user: usr
stacki_password: pwd

View file

@ -43,12 +43,12 @@ author:
EXAMPLES = r'''
- name: Send a magic Wake-on-LAN packet to 00:00:5E:00:53:66
wakeonlan:
community.general.wakeonlan:
mac: '00:00:5E:00:53:66'
broadcast: 192.0.2.23
delegate_to: localhost
- wakeonlan:
- community.general.wakeonlan:
mac: 00:00:5E:00:53:66
port: 9
delegate_to: localhost