mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
(cherry picked from commit 015566fb06)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -65,7 +65,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Delete an alert profile from ManageIQ
|
||||
community.general.manageiq_alert_profiles:
|
||||
@@ -75,7 +75,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
||||
@@ -26,7 +26,7 @@ options:
|
||||
description:
|
||||
- absent - alert should not exist,
|
||||
- present - alert should exist,
|
||||
required: False
|
||||
required: false
|
||||
choices: ['absent', 'present']
|
||||
default: 'present'
|
||||
description:
|
||||
@@ -84,7 +84,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Add an alert with a "miq expression" to ManageIQ
|
||||
community.general.manageiq_alerts:
|
||||
@@ -111,7 +111,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Delete an alert from ManageIQ
|
||||
community.general.manageiq_alerts:
|
||||
@@ -121,7 +121,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
||||
@@ -99,7 +99,7 @@ EXAMPLES = '''
|
||||
url: 'https://manageiq_server'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Create a group in ManageIQ with the role EvmRole-user and tenant with tenant_id 4
|
||||
community.general.manageiq_group:
|
||||
@@ -110,7 +110,7 @@ EXAMPLES = '''
|
||||
url: 'https://manageiq_server'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name:
|
||||
- Create or update a group in ManageIQ with the role EvmRole-user and tenant my_tenant.
|
||||
@@ -136,7 +136,7 @@ EXAMPLES = '''
|
||||
url: 'https://manageiq_server'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Delete a group in ManageIQ
|
||||
community.general.manageiq_group:
|
||||
|
||||
@@ -68,7 +68,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Unassign a policy_profile for a provider in ManageIQ
|
||||
community.general.manageiq_policies:
|
||||
@@ -81,7 +81,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: List current policy_profile and policies for a provider in ManageIQ
|
||||
community.general.manageiq_policies:
|
||||
@@ -92,7 +92,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
||||
@@ -71,7 +71,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Create new tags for a provider in ManageIQ
|
||||
community.general.manageiq_tags:
|
||||
@@ -86,7 +86,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Remove tags for a provider in ManageIQ
|
||||
community.general.manageiq_tags:
|
||||
@@ -102,7 +102,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: List current tags for a provider in ManageIQ
|
||||
community.general.manageiq_tags:
|
||||
@@ -113,7 +113,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
||||
@@ -77,7 +77,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Create a tenant in ManageIQ
|
||||
community.general.manageiq_tenant:
|
||||
@@ -88,7 +88,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Delete a tenant in ManageIQ
|
||||
community.general.manageiq_tenant:
|
||||
@@ -99,7 +99,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Set tenant quota for cpu_allocated, mem_allocated, remove quota for vms_allocated
|
||||
community.general.manageiq_tenant:
|
||||
@@ -113,7 +113,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
|
||||
- name: Delete a tenant in ManageIQ using a token
|
||||
@@ -124,7 +124,7 @@ EXAMPLES = '''
|
||||
manageiq_connection:
|
||||
url: 'http://127.0.0.1:3000'
|
||||
token: 'sometoken'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
||||
@@ -68,7 +68,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Create a new user in ManageIQ using a token
|
||||
community.general.manageiq_user:
|
||||
@@ -80,7 +80,7 @@ EXAMPLES = '''
|
||||
manageiq_connection:
|
||||
url: 'http://127.0.0.1:3000'
|
||||
token: 'sometoken'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Delete a user in ManageIQ
|
||||
community.general.manageiq_user:
|
||||
@@ -90,7 +90,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Delete a user in ManageIQ using a token
|
||||
community.general.manageiq_user:
|
||||
@@ -99,7 +99,7 @@ EXAMPLES = '''
|
||||
manageiq_connection:
|
||||
url: 'http://127.0.0.1:3000'
|
||||
token: 'sometoken'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Update email of user in ManageIQ
|
||||
community.general.manageiq_user:
|
||||
@@ -109,7 +109,7 @@ EXAMPLES = '''
|
||||
url: 'http://127.0.0.1:3000'
|
||||
username: 'admin'
|
||||
password: 'smartvm'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
|
||||
- name: Update email of user in ManageIQ using a token
|
||||
community.general.manageiq_user:
|
||||
@@ -118,7 +118,7 @@ EXAMPLES = '''
|
||||
manageiq_connection:
|
||||
url: 'http://127.0.0.1:3000'
|
||||
token: 'sometoken'
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
||||
@@ -182,13 +182,13 @@ options:
|
||||
description:
|
||||
- Indicates that the image is treated as inserted on command completion.
|
||||
type: bool
|
||||
default: True
|
||||
default: true
|
||||
write_protected:
|
||||
required: false
|
||||
description:
|
||||
- Indicates that the media is treated as write-protected.
|
||||
type: bool
|
||||
default: True
|
||||
default: true
|
||||
username:
|
||||
required: false
|
||||
description:
|
||||
|
||||
@@ -191,10 +191,10 @@ EXAMPLES = '''
|
||||
command: SetNetworkProtocols
|
||||
network_protocols:
|
||||
SNMP:
|
||||
ProtocolEnabled: True
|
||||
ProtocolEnabled: true
|
||||
Port: 161
|
||||
HTTP:
|
||||
ProtocolEnabled: False
|
||||
ProtocolEnabled: false
|
||||
Port: 8080
|
||||
baseuri: "{{ baseuri }}"
|
||||
username: "{{ username }}"
|
||||
@@ -206,7 +206,7 @@ EXAMPLES = '''
|
||||
command: SetManagerNic
|
||||
nic_config:
|
||||
DHCPv4:
|
||||
DHCPEnabled: False
|
||||
DHCPEnabled: false
|
||||
IPv4StaticAddresses:
|
||||
Address: 192.168.1.3
|
||||
Gateway: 192.168.1.1
|
||||
|
||||
@@ -19,23 +19,23 @@ options:
|
||||
name:
|
||||
description:
|
||||
- Name of the host to be added to Stacki.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
stacki_user:
|
||||
description:
|
||||
- Username for authenticating with Stacki API, but if not specified, the environment variable C(stacki_user) is used instead.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
stacki_password:
|
||||
description:
|
||||
- Password for authenticating with Stacki API, but if not
|
||||
specified, the environment variable C(stacki_password) is used instead.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
stacki_endpoint:
|
||||
description:
|
||||
- URL for the Stacki API Endpoint.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
prim_intf_mac:
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user