mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-13 09:34:21 -07:00
Normalize more booleans. (#5247)
This commit is contained in:
parent
570445adc4
commit
015566fb06
170 changed files with 465 additions and 465 deletions
|
@ -101,7 +101,7 @@ options:
|
|||
description:
|
||||
- Specifies whether to add sequential suffixes to the host_name.
|
||||
The sequential suffix ranges from 001 to 999.
|
||||
default: False
|
||||
default: false
|
||||
type: bool
|
||||
version_added: '0.2.0'
|
||||
password:
|
||||
|
@ -143,7 +143,7 @@ options:
|
|||
allocate_public_ip:
|
||||
description:
|
||||
- Whether allocate a public ip for the new instance.
|
||||
default: False
|
||||
default: false
|
||||
aliases: [ 'assign_public_ip' ]
|
||||
type: bool
|
||||
instance_charge_type:
|
||||
|
@ -162,7 +162,7 @@ options:
|
|||
description:
|
||||
- Whether automate renew the charge of the instance.
|
||||
type: bool
|
||||
default: False
|
||||
default: false
|
||||
auto_renew_period:
|
||||
description:
|
||||
- The duration of the automatic renew the charge of the instance. Required when I(auto_renew=true).
|
||||
|
@ -177,7 +177,7 @@ options:
|
|||
force:
|
||||
description:
|
||||
- Whether the current operation needs to be execute forcibly.
|
||||
default: False
|
||||
default: false
|
||||
type: bool
|
||||
tags:
|
||||
description:
|
||||
|
@ -189,7 +189,7 @@ options:
|
|||
description:
|
||||
- Delete any tags not specified in the task that are on the instance.
|
||||
If True, it means you have to specify all the desired tags on each task affecting an instance.
|
||||
default: False
|
||||
default: false
|
||||
type: bool
|
||||
version_added: '0.2.0'
|
||||
key_name:
|
||||
|
@ -236,13 +236,13 @@ options:
|
|||
required parameters are set, and validates the request format, service permissions, and available ECS instances.
|
||||
If the validation fails, the corresponding error code is returned. If the validation succeeds, the DryRunOperation error code is returned.
|
||||
- If I(dry_run=false), A request is sent. If the validation succeeds, the instance is created.
|
||||
default: False
|
||||
default: false
|
||||
type: bool
|
||||
version_added: '0.2.0'
|
||||
include_data_disks:
|
||||
description:
|
||||
- Whether to change instance disks charge type when changing instance charge type.
|
||||
default: True
|
||||
default: true
|
||||
type: bool
|
||||
version_added: '0.2.0'
|
||||
author:
|
||||
|
@ -265,7 +265,7 @@ EXAMPLES = '''
|
|||
image: ubuntu1404_64_40G_cloudinit_20160727.raw
|
||||
instance_type: ecs.n4.small
|
||||
vswitch_id: vsw-abcd1234
|
||||
assign_public_ip: True
|
||||
assign_public_ip: true
|
||||
max_bandwidth_out: 10
|
||||
host_name: myhost
|
||||
password: mypassword
|
||||
|
@ -275,7 +275,7 @@ EXAMPLES = '''
|
|||
security_groups: ["sg-f2rwnfh23r"]
|
||||
|
||||
instance_ids: ["i-abcd12346", "i-abcd12345"]
|
||||
force: True
|
||||
force: true
|
||||
|
||||
tasks:
|
||||
- name: Launch ECS instance in VPC network
|
||||
|
|
|
@ -26,18 +26,18 @@ options:
|
|||
backend:
|
||||
description:
|
||||
- Define the backend to use for the container.
|
||||
required: True
|
||||
required: true
|
||||
choices: ["docker", "ostree"]
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- Name of the container.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
image:
|
||||
description:
|
||||
- The image to use to install the container.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
rootfs:
|
||||
description:
|
||||
|
|
|
@ -31,7 +31,7 @@ options:
|
|||
name:
|
||||
description:
|
||||
- Name of the container image.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
|
|
|
@ -19,17 +19,17 @@ options:
|
|||
description:
|
||||
- The name of the Anti Affinity Policy.
|
||||
type: str
|
||||
required: True
|
||||
required: true
|
||||
location:
|
||||
description:
|
||||
- Datacenter in which the policy lives/should live.
|
||||
type: str
|
||||
required: True
|
||||
required: true
|
||||
state:
|
||||
description:
|
||||
- Whether to create or delete the policy.
|
||||
type: str
|
||||
required: False
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present','absent']
|
||||
requirements:
|
||||
|
@ -55,7 +55,7 @@ EXAMPLES = '''
|
|||
---
|
||||
- name: Create AA Policy
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Create an Anti Affinity Policy
|
||||
|
@ -71,7 +71,7 @@ EXAMPLES = '''
|
|||
|
||||
- name: Delete AA Policy
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Delete an Anti Affinity Policy
|
||||
|
|
|
@ -20,7 +20,7 @@ options:
|
|||
description:
|
||||
- The alias of your CLC Account
|
||||
type: str
|
||||
required: True
|
||||
required: true
|
||||
name:
|
||||
description:
|
||||
- The name of the alert policy. This is mutually exclusive with id
|
||||
|
@ -81,7 +81,7 @@ EXAMPLES = '''
|
|||
---
|
||||
- name: Create Alert Policy Example
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Create an Alert Policy for disk above 80% for 5 minutes
|
||||
|
@ -102,7 +102,7 @@ EXAMPLES = '''
|
|||
|
||||
- name: Delete Alert Policy Example
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Delete an Alert Policy
|
||||
|
|
|
@ -19,24 +19,24 @@ options:
|
|||
description:
|
||||
- A list of server Ids to deploy the blue print package.
|
||||
type: list
|
||||
required: True
|
||||
required: true
|
||||
elements: str
|
||||
package_id:
|
||||
description:
|
||||
- The package id of the blue print.
|
||||
type: str
|
||||
required: True
|
||||
required: true
|
||||
package_params:
|
||||
description:
|
||||
- The dictionary of arguments required to deploy the blue print.
|
||||
type: dict
|
||||
default: {}
|
||||
required: False
|
||||
required: false
|
||||
state:
|
||||
description:
|
||||
- Whether to install or uninstall the package. Currently it supports only "present" for install action.
|
||||
type: str
|
||||
required: False
|
||||
required: false
|
||||
default: present
|
||||
choices: ['present']
|
||||
wait:
|
||||
|
@ -44,7 +44,7 @@ options:
|
|||
- Whether to wait for the tasks to finish before returning.
|
||||
type: str
|
||||
default: 'True'
|
||||
required: False
|
||||
required: false
|
||||
requirements:
|
||||
- python = 2.7
|
||||
- requests >= 2.5.0
|
||||
|
|
|
@ -19,7 +19,7 @@ options:
|
|||
description:
|
||||
- Target datacenter for the firewall policy
|
||||
type: str
|
||||
required: True
|
||||
required: true
|
||||
state:
|
||||
description:
|
||||
- Whether to create or delete the firewall policy
|
||||
|
@ -53,7 +53,7 @@ options:
|
|||
description:
|
||||
- CLC alias for the source account
|
||||
type: str
|
||||
required: True
|
||||
required: true
|
||||
destination_account_alias:
|
||||
description:
|
||||
- CLC alias for the destination account
|
||||
|
@ -90,7 +90,7 @@ EXAMPLES = '''
|
|||
---
|
||||
- name: Create Firewall Policy
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Create / Verify an Firewall Policy at CenturyLink Cloud
|
||||
|
@ -105,7 +105,7 @@ EXAMPLES = '''
|
|||
|
||||
- name: Delete Firewall Policy
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Delete an Firewall Policy at CenturyLink Cloud
|
||||
|
|
|
@ -20,23 +20,23 @@ options:
|
|||
description:
|
||||
- The name of the Server Group
|
||||
type: str
|
||||
required: True
|
||||
required: true
|
||||
description:
|
||||
description:
|
||||
- A description of the Server Group
|
||||
type: str
|
||||
required: False
|
||||
required: false
|
||||
parent:
|
||||
description:
|
||||
- The parent group of the server group. If parent is not provided, it creates the group at top level.
|
||||
type: str
|
||||
required: False
|
||||
required: false
|
||||
location:
|
||||
description:
|
||||
- Datacenter to create the group in. If location is not provided, the group gets created in the default datacenter
|
||||
associated with the account
|
||||
type: str
|
||||
required: False
|
||||
required: false
|
||||
state:
|
||||
description:
|
||||
- Whether to create or delete the group
|
||||
|
@ -47,8 +47,8 @@ options:
|
|||
description:
|
||||
- Whether to wait for the tasks to finish before returning.
|
||||
type: bool
|
||||
default: True
|
||||
required: False
|
||||
default: true
|
||||
required: false
|
||||
requirements:
|
||||
- python = 2.7
|
||||
- requests >= 2.5.0
|
||||
|
@ -73,7 +73,7 @@ EXAMPLES = '''
|
|||
---
|
||||
- name: Create Server Group
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Create / Verify a Server Group at CenturyLink Cloud
|
||||
|
@ -90,7 +90,7 @@ EXAMPLES = '''
|
|||
# Delete a Server Group
|
||||
- name: Delete Server Group
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Delete / Verify Absent a Server Group at CenturyLink Cloud
|
||||
|
|
|
@ -20,7 +20,7 @@ options:
|
|||
description:
|
||||
- The name of the loadbalancer
|
||||
type: str
|
||||
required: True
|
||||
required: true
|
||||
description:
|
||||
description:
|
||||
- A description for the loadbalancer
|
||||
|
@ -29,12 +29,12 @@ options:
|
|||
description:
|
||||
- The alias of your CLC Account
|
||||
type: str
|
||||
required: True
|
||||
required: true
|
||||
location:
|
||||
description:
|
||||
- The location of the datacenter where the load balancer resides in
|
||||
type: str
|
||||
required: True
|
||||
required: true
|
||||
method:
|
||||
description:
|
||||
-The balancing method for the load balancer pool
|
||||
|
|
|
@ -19,7 +19,7 @@ options:
|
|||
description:
|
||||
- A list of server Ids to modify.
|
||||
type: list
|
||||
required: True
|
||||
required: true
|
||||
elements: str
|
||||
cpu:
|
||||
description:
|
||||
|
|
|
@ -30,7 +30,7 @@ options:
|
|||
description:
|
||||
- A list of servers to create public ips on.
|
||||
type: list
|
||||
required: True
|
||||
required: true
|
||||
elements: str
|
||||
state:
|
||||
description:
|
||||
|
@ -66,7 +66,7 @@ EXAMPLES = '''
|
|||
|
||||
- name: Add Public IP to Server
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Create Public IP For Servers
|
||||
|
@ -86,7 +86,7 @@ EXAMPLES = '''
|
|||
|
||||
- name: Delete Public IP from Server
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
connection: local
|
||||
tasks:
|
||||
- name: Create Public IP For Servers
|
||||
|
|
|
@ -19,26 +19,26 @@ options:
|
|||
description:
|
||||
- The list of CLC server Ids.
|
||||
type: list
|
||||
required: True
|
||||
required: true
|
||||
elements: str
|
||||
expiration_days:
|
||||
description:
|
||||
- The number of days to keep the server snapshot before it expires.
|
||||
type: int
|
||||
default: 7
|
||||
required: False
|
||||
required: false
|
||||
state:
|
||||
description:
|
||||
- The state to insure that the provided resources are in.
|
||||
type: str
|
||||
default: 'present'
|
||||
required: False
|
||||
required: false
|
||||
choices: ['present', 'absent', 'restore']
|
||||
wait:
|
||||
description:
|
||||
- Whether to wait for the provisioning tasks to finish before returning.
|
||||
default: 'True'
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
requirements:
|
||||
- python = 2.7
|
||||
|
@ -66,7 +66,7 @@ EXAMPLES = '''
|
|||
- UC1TEST-SVR01
|
||||
- UC1TEST-SVR02
|
||||
expiration_days: 10
|
||||
wait: True
|
||||
wait: true
|
||||
state: present
|
||||
|
||||
- name: Restore server snapshot
|
||||
|
@ -74,7 +74,7 @@ EXAMPLES = '''
|
|||
server_ids:
|
||||
- UC1TEST-SVR01
|
||||
- UC1TEST-SVR02
|
||||
wait: True
|
||||
wait: true
|
||||
state: restore
|
||||
|
||||
- name: Delete server snapshot
|
||||
|
@ -82,7 +82,7 @@ EXAMPLES = '''
|
|||
server_ids:
|
||||
- UC1TEST-SVR01
|
||||
- UC1TEST-SVR02
|
||||
wait: True
|
||||
wait: true
|
||||
state: absent
|
||||
'''
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ EXAMPLES = '''
|
|||
hwc_vpc_subnet:
|
||||
gateway_ip: "192.168.100.32"
|
||||
name: "ansible_network_subnet_test"
|
||||
dhcp_enable: True
|
||||
dhcp_enable: true
|
||||
vpc_id: "{{ vpc.id }}"
|
||||
cidr: "192.168.100.0/26"
|
||||
register: subnet
|
||||
|
|
|
@ -119,7 +119,7 @@ EXAMPLES = '''
|
|||
hwc_vpc_subnet:
|
||||
gateway_ip: "192.168.100.32"
|
||||
name: "ansible_network_subnet_test"
|
||||
dhcp_enable: True
|
||||
dhcp_enable: true
|
||||
vpc_id: "{{ vpc.id }}"
|
||||
cidr: "192.168.100.0/26"
|
||||
register: subnet
|
||||
|
|
|
@ -63,7 +63,7 @@ EXAMPLES = '''
|
|||
hwc_vpc_subnet:
|
||||
gateway_ip: "192.168.100.32"
|
||||
name: "ansible_network_subnet_test"
|
||||
dhcp_enable: True
|
||||
dhcp_enable: true
|
||||
vpc_id: "{{ vpc.id }}"
|
||||
cidr: "192.168.100.0/26"
|
||||
register: subnet
|
||||
|
|
|
@ -110,7 +110,7 @@ EXAMPLES = '''
|
|||
cidr: "192.168.100.0/26"
|
||||
gateway_ip: "192.168.100.32"
|
||||
name: "ansible_network_subnet_test"
|
||||
dhcp_enable: True
|
||||
dhcp_enable: true
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
|
@ -209,15 +209,15 @@ EXAMPLES = '''
|
|||
wait: true
|
||||
wait_timeout: 600
|
||||
state: present
|
||||
alert_bwquota_enabled: True
|
||||
alert_bwquota_enabled: true
|
||||
alert_bwquota_threshold: 80
|
||||
alert_bwin_enabled: True
|
||||
alert_bwin_enabled: true
|
||||
alert_bwin_threshold: 10
|
||||
alert_cpu_enabled: True
|
||||
alert_cpu_enabled: true
|
||||
alert_cpu_threshold: 210
|
||||
alert_bwout_enabled: True
|
||||
alert_bwout_enabled: true
|
||||
alert_bwout_threshold: 10
|
||||
alert_diskio_enabled: True
|
||||
alert_diskio_enabled: true
|
||||
alert_diskio_threshold: 10000
|
||||
backupweeklyday: 1
|
||||
backupwindow: 2
|
||||
|
@ -225,7 +225,7 @@ EXAMPLES = '''
|
|||
additional_disks:
|
||||
- {Label: 'disk1', Size: 2500, Type: 'raw'}
|
||||
- {Label: 'newdisk', Size: 2000}
|
||||
watchdog: True
|
||||
watchdog: true
|
||||
delegate_to: localhost
|
||||
register: linode_creation
|
||||
|
||||
|
|
|
@ -413,7 +413,7 @@ lxc_container:
|
|||
description: if the container was cloned
|
||||
returned: success, when clone_name is specified
|
||||
type: bool
|
||||
sample: True
|
||||
sample: true
|
||||
"""
|
||||
|
||||
import os
|
||||
|
|
|
@ -42,7 +42,7 @@ EXAMPLES = '''
|
|||
- name: Submit DNS reload and poll
|
||||
community.general.memset_dns_reload:
|
||||
api_key: 5eb86c9196ab03919abcf03857163741
|
||||
poll: True
|
||||
poll: true
|
||||
delegate_to: localhost
|
||||
'''
|
||||
|
||||
|
|
|
@ -142,7 +142,7 @@ memset_api:
|
|||
description: Adds the current domain onto the address field for C(CNAME), C(MX), C(NS) and C(SRV) types.
|
||||
returned: always
|
||||
type: bool
|
||||
sample: False
|
||||
sample: false
|
||||
ttl:
|
||||
description: Record TTL.
|
||||
returned: always
|
||||
|
|
|
@ -580,7 +580,7 @@ EXAMPLES = '''
|
|||
storage: VMs_LVM_thin
|
||||
format: raw
|
||||
efitype: 4m
|
||||
pre_enrolled_keys: False
|
||||
pre_enrolled_keys: false
|
||||
|
||||
- name: Create VM with 1 10GB SATA disk and an EFI disk, with Secure Boot enabled by default
|
||||
community.general.proxmox_kvm:
|
||||
|
|
|
@ -68,7 +68,7 @@ options:
|
|||
vm_start_on_hold:
|
||||
description:
|
||||
- Set to true to put vm on hold while creating
|
||||
default: False
|
||||
default: false
|
||||
type: bool
|
||||
instance_ids:
|
||||
description:
|
||||
|
|
|
@ -255,7 +255,7 @@ RETURN = '''
|
|||
changed:
|
||||
description: True if a device was altered in any way (created, modified or removed)
|
||||
type: bool
|
||||
sample: True
|
||||
sample: true
|
||||
returned: success
|
||||
|
||||
devices:
|
||||
|
|
|
@ -37,13 +37,13 @@ options:
|
|||
hostname:
|
||||
description:
|
||||
- A hostname of a device to/from which to assign/remove a subnet.
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
|
||||
device_id:
|
||||
description:
|
||||
- UUID of a device to/from which to assign/remove a subnet.
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
|
||||
project_id:
|
||||
|
@ -118,7 +118,7 @@ RETURN = '''
|
|||
changed:
|
||||
description: True if an IP address assignments were altered in any way (created or removed).
|
||||
type: bool
|
||||
sample: True
|
||||
sample: true
|
||||
returned: success
|
||||
|
||||
device_id:
|
||||
|
@ -135,15 +135,15 @@ subnet:
|
|||
assigned_to: { href : /devices/61f9aa5e-0530-47f5-97c2-113828e61ed0 }
|
||||
cidr: 31
|
||||
created_at: '2017-08-07T15:15:30Z'
|
||||
enabled: True
|
||||
enabled: true
|
||||
gateway: 147.75.90.240
|
||||
href: /ips/31eda960-0a16-4c0f-b196-f3dc4928529f
|
||||
id: 1eda960-0a16-4c0f-b196-f3dc4928529f
|
||||
manageable: True
|
||||
management: True
|
||||
manageable: true
|
||||
management: true
|
||||
netmask: 255.255.255.254
|
||||
network: 147.75.90.240
|
||||
public: True
|
||||
public: true
|
||||
returned: success
|
||||
'''
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ RETURN = '''
|
|||
changed:
|
||||
description: True if a project was created or removed.
|
||||
type: bool
|
||||
sample: True
|
||||
sample: true
|
||||
returned: success
|
||||
|
||||
name:
|
||||
|
|
|
@ -84,7 +84,7 @@ RETURN = '''
|
|||
changed:
|
||||
description: True if a sshkey was created or removed.
|
||||
type: bool
|
||||
sample: True
|
||||
sample: true
|
||||
returned: always
|
||||
sshkeys:
|
||||
description: Information about sshkeys that were created/removed.
|
||||
|
|
|
@ -84,7 +84,7 @@ options:
|
|||
description:
|
||||
- Create new volume locked.
|
||||
type: bool
|
||||
default: False
|
||||
default: false
|
||||
|
||||
billing_cycle:
|
||||
description:
|
||||
|
@ -102,13 +102,13 @@ options:
|
|||
snapshot_count:
|
||||
description:
|
||||
- How many snapshots to keep, a positive integer.
|
||||
required: True
|
||||
required: true
|
||||
type: int
|
||||
|
||||
snapshot_frequency:
|
||||
description:
|
||||
- Frequency of snapshots.
|
||||
required: True
|
||||
required: true
|
||||
choices: ["15min", "1hour", "1day", "1week", "1month", "1year"]
|
||||
type: str
|
||||
|
||||
|
|
|
@ -179,7 +179,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Build a Cloud Server
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Server build request
|
||||
local_action:
|
||||
|
@ -200,7 +200,7 @@ EXAMPLES = '''
|
|||
|
||||
- name: Build an exact count of cloud servers with incremented names
|
||||
hosts: local
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Server build requests
|
||||
local_action:
|
||||
|
|
|
@ -78,7 +78,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Build a Block Storage Volume
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
hosts: local
|
||||
connection: local
|
||||
tasks:
|
||||
|
|
|
@ -58,7 +58,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Attach a Block Storage Volume
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
hosts: local
|
||||
connection: local
|
||||
tasks:
|
||||
|
|
|
@ -70,7 +70,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Build a Cloud Databases
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Server build request
|
||||
local_action:
|
||||
|
|
|
@ -111,7 +111,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Build a Load Balancer
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
hosts: local
|
||||
connection: local
|
||||
tasks:
|
||||
|
|
|
@ -54,7 +54,7 @@ extends_documentation_fragment:
|
|||
EXAMPLES = '''
|
||||
- name: Create domain
|
||||
hosts: all
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Domain create request
|
||||
local_action:
|
||||
|
|
|
@ -24,7 +24,7 @@ options:
|
|||
description:
|
||||
- IP address for A/AAAA record, FQDN for CNAME/MX/NS, or text data for
|
||||
SRV/TXT
|
||||
required: True
|
||||
required: true
|
||||
domain:
|
||||
type: str
|
||||
description:
|
||||
|
@ -38,7 +38,7 @@ options:
|
|||
type: str
|
||||
description:
|
||||
- FQDN record name to create
|
||||
required: True
|
||||
required: true
|
||||
overwrite:
|
||||
description:
|
||||
- Add new records if data doesn't match, instead of updating existing
|
||||
|
@ -100,7 +100,7 @@ extends_documentation_fragment:
|
|||
EXAMPLES = '''
|
||||
- name: Create DNS Records
|
||||
hosts: all
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Create A record
|
||||
local_action:
|
||||
|
|
|
@ -37,7 +37,7 @@ extends_documentation_fragment:
|
|||
EXAMPLES = '''
|
||||
- name: Gather info about servers
|
||||
hosts: all
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Get facts about servers
|
||||
local_action:
|
||||
|
|
|
@ -83,7 +83,7 @@ extends_documentation_fragment:
|
|||
EXAMPLES = '''
|
||||
- name: "Test Cloud Files Objects"
|
||||
hosts: local
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: "Get objects from test container"
|
||||
community.general.rax_files_objects:
|
||||
|
|
|
@ -32,7 +32,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Load Rackspace Cloud Identity
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
hosts: local
|
||||
connection: local
|
||||
tasks:
|
||||
|
|
|
@ -45,7 +45,7 @@ extends_documentation_fragment:
|
|||
EXAMPLES = '''
|
||||
- name: Create a keypair
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Keypair request
|
||||
local_action:
|
||||
|
@ -67,7 +67,7 @@ EXAMPLES = '''
|
|||
|
||||
- name: Create a keypair
|
||||
hosts: localhost
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Keypair request
|
||||
local_action:
|
||||
|
|
|
@ -41,7 +41,7 @@ extends_documentation_fragment:
|
|||
EXAMPLES = '''
|
||||
- name: Set metadata for a server
|
||||
hosts: all
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Set metadata
|
||||
local_action:
|
||||
|
|
|
@ -77,7 +77,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Alarm example
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
hosts: local
|
||||
connection: local
|
||||
tasks:
|
||||
|
|
|
@ -119,7 +119,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Create a monitoring check
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
hosts: local
|
||||
connection: local
|
||||
tasks:
|
||||
|
|
|
@ -57,7 +57,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Entity example
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
hosts: local
|
||||
connection: local
|
||||
tasks:
|
||||
|
|
|
@ -52,7 +52,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Monitoring notification example
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
hosts: local
|
||||
connection: local
|
||||
tasks:
|
||||
|
|
|
@ -58,7 +58,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Example notification plan
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
hosts: local
|
||||
connection: local
|
||||
tasks:
|
||||
|
|
|
@ -42,7 +42,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Build an Isolated Network
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
|
||||
tasks:
|
||||
- name: Network create request
|
||||
|
|
|
@ -38,7 +38,7 @@ extends_documentation_fragment:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Build a Queue
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
hosts: local
|
||||
connection: local
|
||||
tasks:
|
||||
|
|
|
@ -80,7 +80,7 @@ etherstub:
|
|||
description: specifies if the nic tag will create and attach to an etherstub.
|
||||
returned: always
|
||||
type: bool
|
||||
sample: False
|
||||
sample: false
|
||||
mtu:
|
||||
description: specifies which MTU size was passed during the nictagadm add command. mtu and etherstub are mutually exclusive.
|
||||
returned: always
|
||||
|
@ -90,7 +90,7 @@ force:
|
|||
description: Shows if -f was used during the deletion of a nic tag
|
||||
returned: always
|
||||
type: bool
|
||||
sample: False
|
||||
sample: false
|
||||
state:
|
||||
description: state of the target
|
||||
returned: always
|
||||
|
|
|
@ -230,7 +230,7 @@ EXAMPLES = '''
|
|||
- 100
|
||||
os_code: UBUNTU_LATEST
|
||||
ssh_keys: []
|
||||
wait: True
|
||||
wait: true
|
||||
- hostname: instance-3
|
||||
domain: anydomain.com
|
||||
datacenter: dal09
|
||||
|
|
|
@ -523,7 +523,7 @@ EXAMPLES = '''
|
|||
min_size: 0
|
||||
target: 0
|
||||
unit: instance
|
||||
monitoring: True
|
||||
monitoring: true
|
||||
name: ansible-group
|
||||
on_demand_instance_type: c3.large
|
||||
product: Linux/UNIX
|
||||
|
@ -561,7 +561,7 @@ EXAMPLES = '''
|
|||
min_size: 0
|
||||
target: 0
|
||||
unit: instance
|
||||
monitoring: True
|
||||
monitoring: true
|
||||
name: ansible-group-tal
|
||||
on_demand_instance_type: c3.large
|
||||
product: Linux/UNIX
|
||||
|
@ -576,7 +576,7 @@ EXAMPLES = '''
|
|||
- c3.large
|
||||
do_not_update:
|
||||
- image_id
|
||||
wait_for_instances: True
|
||||
wait_for_instances: true
|
||||
wait_timeout: 600
|
||||
register: result
|
||||
|
||||
|
@ -608,7 +608,7 @@ EXAMPLES = '''
|
|||
min_size: 0
|
||||
target: 0
|
||||
unit: instance
|
||||
monitoring: True
|
||||
monitoring: true
|
||||
name: ansible-group-tal
|
||||
on_demand_instance_type: c3.large
|
||||
product: Linux/UNIX
|
||||
|
@ -627,7 +627,7 @@ EXAMPLES = '''
|
|||
- c3.large
|
||||
do_not_update:
|
||||
- image_id
|
||||
wait_for_instances: True
|
||||
wait_for_instances: true
|
||||
wait_timeout: 600
|
||||
register: result
|
||||
|
||||
|
@ -659,7 +659,7 @@ EXAMPLES = '''
|
|||
virtual_name: ephemeral0
|
||||
- device_name: '/dev/xvdb/'
|
||||
virtual_name: ephemeral1
|
||||
monitoring: True
|
||||
monitoring: true
|
||||
name: ansible-group
|
||||
on_demand_instance_type: c3.large
|
||||
product: Linux/UNIX
|
||||
|
@ -697,7 +697,7 @@ EXAMPLES = '''
|
|||
min_size: 0
|
||||
target: 0
|
||||
unit: instance
|
||||
monitoring: True
|
||||
monitoring: true
|
||||
name: ansible-group
|
||||
on_demand_instance_type: c3.large
|
||||
product: Linux/UNIX
|
||||
|
@ -737,7 +737,7 @@ EXAMPLES = '''
|
|||
min_size: 0
|
||||
target: 2
|
||||
unit: instance
|
||||
monitoring: True
|
||||
monitoring: true
|
||||
name: ansible-group-1
|
||||
on_demand_instance_type: c3.large
|
||||
product: Linux/UNIX
|
||||
|
|
|
@ -106,7 +106,7 @@ options:
|
|||
description:
|
||||
- Show in Windows network environment.
|
||||
type: bool
|
||||
default: True
|
||||
default: true
|
||||
aliases: [ samba_browsable ]
|
||||
sambaCreateMode:
|
||||
default: '0744'
|
||||
|
|
|
@ -79,7 +79,7 @@ options:
|
|||
description:
|
||||
- whether to verify the tls certificate of the consul agent
|
||||
required: false
|
||||
default: True
|
||||
default: true
|
||||
requirements:
|
||||
- python-consul
|
||||
- pyhcl
|
||||
|
|
|
@ -61,7 +61,7 @@ options:
|
|||
description:
|
||||
- If the I(state) is C(present) and I(value) is set, perform a
|
||||
read after setting the value and return this value.
|
||||
default: True
|
||||
default: true
|
||||
type: bool
|
||||
session:
|
||||
description:
|
||||
|
|
|
@ -88,7 +88,7 @@ options:
|
|||
description:
|
||||
- Whether to verify the TLS certificate of the consul agent.
|
||||
type: bool
|
||||
default: True
|
||||
default: true
|
||||
behavior:
|
||||
description:
|
||||
- The optional behavior that can be attached to the session when it
|
||||
|
|
|
@ -52,7 +52,7 @@ EXAMPLES = '''
|
|||
|
||||
RETURN = '''
|
||||
changed:
|
||||
description: True if the cluster state has changed
|
||||
description: true if the cluster state has changed
|
||||
type: bool
|
||||
returned: always
|
||||
out:
|
||||
|
|
|
@ -23,73 +23,73 @@ options:
|
|||
host:
|
||||
description:
|
||||
- Which host do we use as seed for info connection
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
default: localhost
|
||||
port:
|
||||
description:
|
||||
- Which port to connect to Aerospike on (service port)
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
default: 3000
|
||||
connect_timeout:
|
||||
description:
|
||||
- How long to try to connect before giving up (milliseconds)
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
default: 1000
|
||||
consecutive_good_checks:
|
||||
description:
|
||||
- How many times should the cluster report "no migrations"
|
||||
consecutively before returning OK back to ansible?
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
default: 3
|
||||
sleep_between_checks:
|
||||
description:
|
||||
- How long to sleep between each check (seconds).
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
default: 60
|
||||
tries_limit:
|
||||
description:
|
||||
- How many times do we poll before giving up and failing?
|
||||
default: 300
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
local_only:
|
||||
description:
|
||||
- Do you wish to only check for migrations on the local node
|
||||
before returning, or do you want all nodes in the cluster
|
||||
to finish before returning?
|
||||
required: True
|
||||
required: true
|
||||
type: bool
|
||||
min_cluster_size:
|
||||
description:
|
||||
- Check will return bad until cluster size is met
|
||||
or until tries is exhausted
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
default: 1
|
||||
fail_on_cluster_change:
|
||||
description:
|
||||
- Fail if the cluster key changes
|
||||
if something else is changing the cluster, we may want to fail
|
||||
required: False
|
||||
required: false
|
||||
type: bool
|
||||
default: True
|
||||
default: true
|
||||
migrate_tx_key:
|
||||
description:
|
||||
- The metric key used to determine if we have tx migrations
|
||||
remaining. Changeable due to backwards compatibility.
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
default: migrate_tx_partitions_remaining
|
||||
migrate_rx_key:
|
||||
description:
|
||||
- The metric key used to determine if we have rx migrations
|
||||
remaining. Changeable due to backwards compatibility.
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
default: migrate_rx_partitions_remaining
|
||||
target_cluster_size:
|
||||
|
@ -102,7 +102,7 @@ options:
|
|||
- If this option is specified on a cluster that has at least 1
|
||||
host <4.3 then it will be ignored until the min version reaches
|
||||
4.3.
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
'''
|
||||
EXAMPLES = '''
|
||||
|
@ -114,7 +114,7 @@ EXAMPLES = '''
|
|||
consecutive_good_checks: 5
|
||||
sleep_between_checks: 15
|
||||
tries_limit: 600
|
||||
local_only: False
|
||||
local_only: false
|
||||
|
||||
# example playbook:
|
||||
- name: Upgrade aerospike
|
||||
|
@ -140,7 +140,7 @@ EXAMPLES = '''
|
|||
# Tries Limit * Sleep Between Checks * delay * retries
|
||||
- name: Wait for aerospike migrations
|
||||
community.general.aerospike_migrations:
|
||||
local_only: True
|
||||
local_only: true
|
||||
sleep_between_checks: 1
|
||||
tries_limit: 5
|
||||
consecutive_good_checks: 3
|
||||
|
|
|
@ -24,7 +24,7 @@ options:
|
|||
user_name:
|
||||
description:
|
||||
- Name of the user.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
user_password:
|
||||
description:
|
||||
|
|
|
@ -22,7 +22,7 @@ options:
|
|||
name:
|
||||
description:
|
||||
- Name of the plugin to install.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
|
@ -40,13 +40,13 @@ options:
|
|||
parameter. If, for example, the plugin is already installed, changing this has no
|
||||
effect.
|
||||
- For ES 1.x use url.
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
url:
|
||||
description:
|
||||
- Set exact URL to download the plugin from (Only works for ES 1.x).
|
||||
- For ES 2.x and higher, use src.
|
||||
required: False
|
||||
required: false
|
||||
type: str
|
||||
timeout:
|
||||
description:
|
||||
|
@ -57,7 +57,7 @@ options:
|
|||
force:
|
||||
description:
|
||||
- "Force batch mode when installing plugins. This is only necessary if a plugin requires additional permissions and console detection fails."
|
||||
default: False
|
||||
default: false
|
||||
type: bool
|
||||
plugin_bin:
|
||||
description:
|
||||
|
|
|
@ -22,7 +22,7 @@ options:
|
|||
name:
|
||||
description:
|
||||
- Name of the plugin to install.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
|
|
|
@ -88,7 +88,7 @@ EXAMPLES = r'''
|
|||
- "select user_name from users;"
|
||||
- select * from SYSTEM;
|
||||
host: "localhost"
|
||||
autocommit: False
|
||||
autocommit: false
|
||||
|
||||
- name: Run several queries from file
|
||||
community.general.hana_query:
|
||||
|
@ -109,7 +109,7 @@ EXAMPLES = r'''
|
|||
query:
|
||||
- "select user_name from users;"
|
||||
- select * from users;
|
||||
autocommit: False
|
||||
autocommit: false
|
||||
'''
|
||||
|
||||
RETURN = r'''
|
||||
|
|
|
@ -73,7 +73,7 @@ options:
|
|||
- If set to C(True), then version 2.60 of the UDF spec is used.
|
||||
- If not specified or set to C(False), then no UDF support is added.
|
||||
type: bool
|
||||
default: False
|
||||
default: false
|
||||
'''
|
||||
|
||||
EXAMPLES = r'''
|
||||
|
@ -139,7 +139,7 @@ udf:
|
|||
description: Configured UDF support.
|
||||
returned: on success
|
||||
type: bool
|
||||
sample: False
|
||||
sample: false
|
||||
'''
|
||||
|
||||
import os
|
||||
|
|
|
@ -112,8 +112,8 @@ EXAMPLES = r'''
|
|||
ipa_host: ipa.example.com
|
||||
ipa_user: admin
|
||||
ipa_pass: topsecret
|
||||
validate_certs: False
|
||||
random_password: True
|
||||
validate_certs: false
|
||||
random_password: true
|
||||
|
||||
- name: Ensure host is disabled
|
||||
community.general.ipa_host:
|
||||
|
@ -146,7 +146,7 @@ EXAMPLES = r'''
|
|||
ipa_host: ipa.example.com
|
||||
ipa_user: admin
|
||||
ipa_pass: topsecret
|
||||
update_dns: True
|
||||
update_dns: true
|
||||
'''
|
||||
|
||||
RETURN = r'''
|
||||
|
|
|
@ -66,7 +66,7 @@ options:
|
|||
description:
|
||||
- Force replace the existent vault on IPA server.
|
||||
type: bool
|
||||
default: False
|
||||
default: false
|
||||
choices: ["True", "False"]
|
||||
validate_certs:
|
||||
description:
|
||||
|
@ -115,7 +115,7 @@ EXAMPLES = r'''
|
|||
ipa_host: ipa.example.com
|
||||
ipa_user: admin
|
||||
ipa_pass: topsecret
|
||||
replace: True
|
||||
replace: true
|
||||
|
||||
- name: Get vault info if already exists
|
||||
community.general.ipa_vault:
|
||||
|
|
|
@ -596,7 +596,7 @@ EXAMPLES = '''
|
|||
root_url: https://www.example.com/
|
||||
admin_url: https://www.example.com/admin_url
|
||||
base_url: basepath
|
||||
enabled: True
|
||||
enabled: true
|
||||
client_authenticator_type: client-secret
|
||||
secret: REALLYWELLKEPTSECRET
|
||||
redirect_uris:
|
||||
|
@ -605,20 +605,20 @@ EXAMPLES = '''
|
|||
web_origins:
|
||||
- https://www.example.com/*
|
||||
not_before: 1507825725
|
||||
bearer_only: False
|
||||
consent_required: False
|
||||
standard_flow_enabled: True
|
||||
implicit_flow_enabled: False
|
||||
direct_access_grants_enabled: False
|
||||
service_accounts_enabled: False
|
||||
authorization_services_enabled: False
|
||||
public_client: False
|
||||
frontchannel_logout: False
|
||||
bearer_only: false
|
||||
consent_required: false
|
||||
standard_flow_enabled: true
|
||||
implicit_flow_enabled: false
|
||||
direct_access_grants_enabled: false
|
||||
service_accounts_enabled: false
|
||||
authorization_services_enabled: false
|
||||
public_client: false
|
||||
frontchannel_logout: false
|
||||
protocol: openid-connect
|
||||
full_scope_allowed: false
|
||||
node_re_registration_timeout: -1
|
||||
client_template: test
|
||||
use_template_config: False
|
||||
use_template_config: false
|
||||
use_template_scope: false
|
||||
use_template_mappers: false
|
||||
always_display_in_console: true
|
||||
|
@ -633,13 +633,13 @@ EXAMPLES = '''
|
|||
browser: 4c90336b-bf1d-4b87-916d-3677ba4e5fbb
|
||||
protocol_mappers:
|
||||
- config:
|
||||
access.token.claim: True
|
||||
access.token.claim: true
|
||||
claim.name: "family_name"
|
||||
id.token.claim: True
|
||||
id.token.claim: true
|
||||
jsonType.label: String
|
||||
user.attribute: lastName
|
||||
userinfo.token.claim: True
|
||||
consentRequired: True
|
||||
userinfo.token.claim: true
|
||||
consentRequired: true
|
||||
consentText: "${familyName}"
|
||||
name: family name
|
||||
protocol: openid-connect
|
||||
|
@ -653,14 +653,14 @@ EXAMPLES = '''
|
|||
protocol: saml
|
||||
protocolMapper: saml-role-list-mapper
|
||||
attributes:
|
||||
saml.authnstatement: True
|
||||
saml.client.signature: True
|
||||
saml.force.post.binding: True
|
||||
saml.server.signature: True
|
||||
saml.authnstatement: true
|
||||
saml.client.signature: true
|
||||
saml.force.post.binding: true
|
||||
saml.server.signature: true
|
||||
saml.signature.algorithm: RSA_SHA256
|
||||
saml.signing.certificate: CERTIFICATEHERE
|
||||
saml.signing.private.key: PRIVATEKEYHERE
|
||||
saml_force_name_id_format: False
|
||||
saml_force_name_id_format: false
|
||||
saml_name_id_format: username
|
||||
saml_signature_canonicalization_method: "http://www.w3.org/2001/10/xml-exc-c14n#"
|
||||
user.info.response.signature.alg: RS256
|
||||
|
|
|
@ -228,12 +228,12 @@ EXAMPLES = '''
|
|||
protocol: openid-connect
|
||||
protocol_mappers:
|
||||
- config:
|
||||
access.token.claim: True
|
||||
access.token.claim: true
|
||||
claim.name: "family_name"
|
||||
id.token.claim: True
|
||||
id.token.claim: true
|
||||
jsonType.label: String
|
||||
user.attribute: lastName
|
||||
userinfo.token.claim: True
|
||||
userinfo.token.claim: true
|
||||
name: family name
|
||||
protocol: openid-connect
|
||||
protocolMapper: oidc-usermodel-property-mapper
|
||||
|
|
|
@ -213,13 +213,13 @@ EXAMPLES = '''
|
|||
name: this_is_a_test
|
||||
protocol_mappers:
|
||||
- config:
|
||||
access.token.claim: True
|
||||
access.token.claim: true
|
||||
claim.name: "family_name"
|
||||
id.token.claim: True
|
||||
id.token.claim: true
|
||||
jsonType.label: String
|
||||
user.attribute: lastName
|
||||
userinfo.token.claim: True
|
||||
consentRequired: True
|
||||
userinfo.token.claim: true
|
||||
consentRequired: true
|
||||
consentText: "${familyName}"
|
||||
name: family name
|
||||
protocol: openid-connect
|
||||
|
|
|
@ -55,7 +55,7 @@ options:
|
|||
type: str
|
||||
description:
|
||||
- The name of the particular 1Password vault to search, useful if your 1Password user has access to multiple vaults (optional).
|
||||
required: True
|
||||
required: true
|
||||
auto_login:
|
||||
type: dict
|
||||
description:
|
||||
|
@ -80,18 +80,18 @@ options:
|
|||
description:
|
||||
- The master password for your subdomain.
|
||||
- This is always required when specifying C(auto_login).
|
||||
required: True
|
||||
required: true
|
||||
secret_key:
|
||||
type: str
|
||||
description:
|
||||
- The secret key for your subdomain.
|
||||
- Only required for initial sign in.
|
||||
default: {}
|
||||
required: False
|
||||
required: false
|
||||
cli_path:
|
||||
type: path
|
||||
description: Used to specify the exact path to the C(op) command line interface
|
||||
required: False
|
||||
required: false
|
||||
default: 'op'
|
||||
'''
|
||||
|
||||
|
@ -114,7 +114,7 @@ EXAMPLES = '''
|
|||
vault: Name of the vault # optional, only necessary if there is more than 1 Vault available
|
||||
delegate_to: localhost
|
||||
register: my_1password_item
|
||||
no_log: True # Don't want to log the secrets to the console!
|
||||
no_log: true # Don't want to log the secrets to the console!
|
||||
|
||||
# Gather secrets combining simple and advanced search terms to retrieve two items, one of which we fetch two
|
||||
# fields. In the first 'password' is fetched, as a field name is not specified (default behaviour) and in the
|
||||
|
|
|
@ -64,7 +64,7 @@ options:
|
|||
type: str
|
||||
description:
|
||||
- Base URL of the API server.
|
||||
required: False
|
||||
required: false
|
||||
default: https://api.bigpanda.io
|
||||
validate_certs:
|
||||
description:
|
||||
|
|
|
@ -26,7 +26,7 @@ options:
|
|||
type: str
|
||||
description:
|
||||
- This is the feature name to enable or disable.
|
||||
required: True
|
||||
required: true
|
||||
state:
|
||||
type: str
|
||||
description:
|
||||
|
|
|
@ -20,7 +20,7 @@ options:
|
|||
type: str
|
||||
description:
|
||||
- Install plugin with that name.
|
||||
required: True
|
||||
required: true
|
||||
state:
|
||||
type: str
|
||||
description:
|
||||
|
|
|
@ -27,7 +27,7 @@ options:
|
|||
type: str
|
||||
description:
|
||||
- A unique name for the handler. The name cannot contain special characters or spaces.
|
||||
required: True
|
||||
required: true
|
||||
type:
|
||||
type: str
|
||||
description:
|
||||
|
|
|
@ -131,8 +131,8 @@ EXAMPLES = '''
|
|||
api_id: api_id
|
||||
api_key: api_key
|
||||
statuspage: statuspage_id
|
||||
maintenance_notify_1_hr: True
|
||||
automation: True
|
||||
maintenance_notify_1_hr: true
|
||||
automation: true
|
||||
|
||||
- name: Create a maintenance window for 60 minutes on server1 and server2
|
||||
community.general.statusio_maintenance:
|
||||
|
@ -145,8 +145,8 @@ EXAMPLES = '''
|
|||
api_id: api_id
|
||||
api_key: api_key
|
||||
statuspage: statuspage_id
|
||||
maintenance_notify_1_hr: True
|
||||
automation: True
|
||||
maintenance_notify_1_hr: true
|
||||
automation: true
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Create a future maintenance window for 24 hours to all hosts inside the Primary Data Center
|
||||
|
|
|
@ -304,7 +304,7 @@ record:
|
|||
description: No documentation available.
|
||||
returned: success
|
||||
type: bool
|
||||
sample: False
|
||||
sample: false
|
||||
meta:
|
||||
description: No documentation available.
|
||||
returned: success
|
||||
|
@ -329,12 +329,12 @@ record:
|
|||
description: Whether this record can be proxied through Cloudflare.
|
||||
returned: success
|
||||
type: bool
|
||||
sample: False
|
||||
sample: false
|
||||
proxied:
|
||||
description: Whether the record is proxied through Cloudflare.
|
||||
returned: success
|
||||
type: bool
|
||||
sample: False
|
||||
sample: false
|
||||
ttl:
|
||||
description: The time-to-live for the record.
|
||||
returned: success
|
||||
|
|
|
@ -254,7 +254,7 @@ EXAMPLES = '''
|
|||
record_name: test
|
||||
record_type: A
|
||||
record_value: 127.0.0.1
|
||||
failover: True
|
||||
failover: true
|
||||
ip1: 127.0.0.2
|
||||
ip2: 127.0.0.3
|
||||
|
||||
|
@ -267,7 +267,7 @@ EXAMPLES = '''
|
|||
record_name: test
|
||||
record_type: A
|
||||
record_value: 127.0.0.1
|
||||
failover: True
|
||||
failover: true
|
||||
ip1: 127.0.0.2
|
||||
ip2: 127.0.0.3
|
||||
ip3: 127.0.0.4
|
||||
|
@ -320,7 +320,7 @@ EXAMPLES = '''
|
|||
record_name: test
|
||||
record_type: A
|
||||
record_value: 127.0.0.1
|
||||
failover: True
|
||||
failover: true
|
||||
ip1: 127.0.0.2
|
||||
ip2: 127.0.0.3
|
||||
monitor: true
|
||||
|
|
|
@ -20,22 +20,22 @@ options:
|
|||
api_key:
|
||||
description:
|
||||
- "API key for authentication, must be obtained via the netcup CCP (U(https://ccp.netcup.net))."
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
api_password:
|
||||
description:
|
||||
- "API password for authentication, must be obtained via the netcup CCP (U(https://ccp.netcup.net))."
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
customer_id:
|
||||
description:
|
||||
- Netcup customer id.
|
||||
required: True
|
||||
required: true
|
||||
type: int
|
||||
domain:
|
||||
description:
|
||||
- Domainname the records should be added / removed.
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
record:
|
||||
description:
|
||||
|
@ -47,7 +47,7 @@ options:
|
|||
description:
|
||||
- Record type.
|
||||
choices: ['A', 'AAAA', 'MX', 'CNAME', 'CAA', 'SRV', 'TXT', 'TLSA', 'NS', 'DS']
|
||||
required: True
|
||||
required: true
|
||||
type: str
|
||||
value:
|
||||
description:
|
||||
|
@ -56,19 +56,19 @@ options:
|
|||
type: str
|
||||
solo:
|
||||
type: bool
|
||||
default: False
|
||||
default: false
|
||||
description:
|
||||
- Whether the record should be the only one for that record type and record name. Only use with I(state=present).
|
||||
- This will delete all other records with the same record name and type.
|
||||
priority:
|
||||
description:
|
||||
- Record priority. Required for I(type=MX).
|
||||
required: False
|
||||
required: false
|
||||
type: int
|
||||
state:
|
||||
description:
|
||||
- Whether the record should exist or not.
|
||||
required: False
|
||||
required: false
|
||||
default: present
|
||||
choices: [ 'present', 'absent' ]
|
||||
type: str
|
||||
|
|
|
@ -68,11 +68,11 @@ response:
|
|||
type: dict
|
||||
sample:
|
||||
{
|
||||
"auth_api": False,
|
||||
"auth_api": false,
|
||||
"name": "Foo",
|
||||
"auth_token": None,
|
||||
"auth_token": null,
|
||||
"user_count": 0,
|
||||
"auth_secret": None,
|
||||
"auth_secret": null,
|
||||
"id": "csftwlu6uhralzi2dpmhekz3",
|
||||
}
|
||||
"""
|
||||
|
|
|
@ -49,27 +49,27 @@ organizations:
|
|||
sample:
|
||||
[
|
||||
{
|
||||
"auth_api": False,
|
||||
"auth_api": false,
|
||||
"name": "FooOrg",
|
||||
"auth_token": None,
|
||||
"auth_token": null,
|
||||
"user_count": 0,
|
||||
"auth_secret": None,
|
||||
"auth_secret": null,
|
||||
"id": "csftwlu6uhralzi2dpmhekz3",
|
||||
},
|
||||
{
|
||||
"auth_api": False,
|
||||
"auth_api": false,
|
||||
"name": "MyOrg",
|
||||
"auth_token": None,
|
||||
"auth_token": null,
|
||||
"user_count": 3,
|
||||
"auth_secret": None,
|
||||
"auth_secret": null,
|
||||
"id": "58070daee63f3b2e6e472c36",
|
||||
},
|
||||
{
|
||||
"auth_api": False,
|
||||
"auth_api": false,
|
||||
"name": "BarOrg",
|
||||
"auth_token": None,
|
||||
"auth_token": null,
|
||||
"user_count": 0,
|
||||
"auth_secret": None,
|
||||
"auth_secret": null,
|
||||
"id": "v1sncsxxybnsylc8gpqg85pg",
|
||||
}
|
||||
]
|
||||
|
|
|
@ -90,7 +90,7 @@ changed:
|
|||
description: Whether the api accepted the message.
|
||||
returned: always
|
||||
type: bool
|
||||
sample: True
|
||||
sample: true
|
||||
'''
|
||||
|
||||
|
||||
|
|
|
@ -97,10 +97,10 @@ EXAMPLES = """
|
|||
fields:
|
||||
- title: System A
|
||||
value: "load average: 0,74, 0,66, 0,63"
|
||||
short: True
|
||||
short: true
|
||||
- title: System B
|
||||
value: 'load average: 5,16, 4,64, 2,43'
|
||||
short: True
|
||||
short: true
|
||||
"""
|
||||
|
||||
RETURN = '''
|
||||
|
|
|
@ -112,7 +112,7 @@ EXAMPLES = '''
|
|||
topic: 'service/ansible/{{ ansible_hostname }}'
|
||||
payload: 'Hello at {{ ansible_date_time.iso8601 }}'
|
||||
qos: 0
|
||||
retain: False
|
||||
retain: false
|
||||
client_id: ans001
|
||||
delegate_to: localhost
|
||||
'''
|
||||
|
|
|
@ -135,10 +135,10 @@ EXAMPLES = """
|
|||
fields:
|
||||
- title: System A
|
||||
value: 'load average: 0,74, 0,66, 0,63'
|
||||
short: True
|
||||
short: true
|
||||
- title: System B
|
||||
value: 'load average: 5,16, 4,64, 2,43'
|
||||
short: True
|
||||
short: true
|
||||
delegate_to: localhost
|
||||
"""
|
||||
|
||||
|
|
|
@ -175,10 +175,10 @@ EXAMPLES = """
|
|||
fields:
|
||||
- title: System A
|
||||
value: "load average: 0,74, 0,66, 0,63"
|
||||
short: True
|
||||
short: true
|
||||
- title: System B
|
||||
value: 'load average: 5,16, 4,64, 2,43'
|
||||
short: True
|
||||
short: true
|
||||
|
||||
- name: Use the blocks API
|
||||
community.general.slack:
|
||||
|
|
|
@ -18,7 +18,7 @@ options:
|
|||
type: str
|
||||
description:
|
||||
- This is the message to place in syslog.
|
||||
required: True
|
||||
required: true
|
||||
priority:
|
||||
type: str
|
||||
description:
|
||||
|
@ -37,7 +37,7 @@ options:
|
|||
description:
|
||||
- Log the PID in brackets.
|
||||
type: bool
|
||||
default: False
|
||||
default: false
|
||||
ident:
|
||||
description:
|
||||
- Specify the name of application name which is sending the log to syslog.
|
||||
|
@ -88,7 +88,7 @@ log_pid:
|
|||
description: Log PID status
|
||||
returned: always
|
||||
type: bool
|
||||
sample: True
|
||||
sample: true
|
||||
msg:
|
||||
description: Message sent to syslog
|
||||
returned: always
|
||||
|
|
|
@ -54,8 +54,8 @@ EXAMPLES = """
|
|||
chat_id: 000000
|
||||
parse_mode: "markdown"
|
||||
text: "Your precious application has been deployed: https://example.com"
|
||||
disable_web_page_preview: True
|
||||
disable_notification: True
|
||||
disable_web_page_preview: true
|
||||
disable_notification: true
|
||||
|
||||
- name: Forward message to someone
|
||||
community.general.telegram:
|
||||
|
@ -64,7 +64,7 @@ EXAMPLES = """
|
|||
api_args:
|
||||
chat_id: 000000
|
||||
from_chat_id: 111111
|
||||
disable_notification: True
|
||||
disable_notification: true
|
||||
message_id: '{{ saved_msg_id }}'
|
||||
"""
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ EXAMPLES = '''
|
|||
- name: Install Dancer perl package without running the unit tests in indicated locallib
|
||||
community.general.cpanm:
|
||||
name: Dancer
|
||||
notest: True
|
||||
notest: true
|
||||
locallib: /srv/webapps/my_app/extlib
|
||||
|
||||
- name: Install Dancer perl package from a specific mirror
|
||||
|
|
|
@ -20,7 +20,7 @@ options:
|
|||
- A list of the pip executables that will be used to get the packages.
|
||||
They can be supplied with the full path or just the executable name, for example C(pip3.7).
|
||||
default: ['pip']
|
||||
required: False
|
||||
required: false
|
||||
type: list
|
||||
elements: path
|
||||
requirements:
|
||||
|
|
|
@ -111,7 +111,7 @@ EXAMPLES = '''
|
|||
community.general.homebrew_cask:
|
||||
name: alfred
|
||||
state: present
|
||||
accept_external_apps: True
|
||||
accept_external_apps: true
|
||||
|
||||
- name: Remove cask with force option
|
||||
community.general.homebrew_cask:
|
||||
|
@ -133,7 +133,7 @@ EXAMPLES = '''
|
|||
community.general.homebrew_cask:
|
||||
name: 1password
|
||||
state: upgraded
|
||||
greedy: True
|
||||
greedy: true
|
||||
|
||||
- name: Using sudo password for installing cask
|
||||
community.general.homebrew_cask:
|
||||
|
|
|
@ -65,7 +65,7 @@ EXAMPLES = '''
|
|||
- name: Disable all repositories except rhel-7-server-rpms
|
||||
community.general.rhsm_repository:
|
||||
name: rhel-7-server-rpms
|
||||
purge: True
|
||||
purge: true
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
|
@ -62,7 +62,7 @@ changed:
|
|||
description: State changes.
|
||||
returned: always
|
||||
type: bool
|
||||
sample: True
|
||||
sample: true
|
||||
action:
|
||||
description: Action performed.
|
||||
returned: always
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -66,8 +66,8 @@ EXAMPLES = r'''
|
|||
secured: '{{ item.secured }}'
|
||||
state: present
|
||||
with_items:
|
||||
- { name: AWS_ACCESS_KEY, value: ABCD1234, secured: False }
|
||||
- { name: AWS_SECRET, value: qwe789poi123vbn0, secured: True }
|
||||
- { name: AWS_ACCESS_KEY, value: ABCD1234, secured: false }
|
||||
- { name: AWS_SECRET, value: qwe789poi123vbn0, secured: true }
|
||||
|
||||
- name: Remove pipeline variable
|
||||
community.general.bitbucket_pipeline_variable:
|
||||
|
|
|
@ -51,17 +51,17 @@ deleted_keys:
|
|||
description: An array of key objects that were deleted. Only present on state=absent
|
||||
type: list
|
||||
returned: When state=absent
|
||||
sample: [{'id': 0, 'key': 'BASE64 encoded key', 'url': 'http://example.com/github key', 'created_at': 'YYYY-MM-DDTHH:MM:SZ', 'read_only': False}]
|
||||
sample: [{'id': 0, 'key': 'BASE64 encoded key', 'url': 'http://example.com/github key', 'created_at': 'YYYY-MM-DDTHH:MM:SZ', 'read_only': false}]
|
||||
matching_keys:
|
||||
description: An array of keys matching the specified name. Only present on state=present
|
||||
type: list
|
||||
returned: When state=present
|
||||
sample: [{'id': 0, 'key': 'BASE64 encoded key', 'url': 'http://example.com/github key', 'created_at': 'YYYY-MM-DDTHH:MM:SZ', 'read_only': False}]
|
||||
sample: [{'id': 0, 'key': 'BASE64 encoded key', 'url': 'http://example.com/github key', 'created_at': 'YYYY-MM-DDTHH:MM:SZ', 'read_only': false}]
|
||||
key:
|
||||
description: Metadata about the key just created. Only present on state=present
|
||||
type: dict
|
||||
returned: success
|
||||
sample: {'id': 0, 'key': 'BASE64 encoded key', 'url': 'http://example.com/github key', 'created_at': 'YYYY-MM-DDTHH:MM:SZ', 'read_only': False}
|
||||
sample: {'id': 0, 'key': 'BASE64 encoded key', 'url': 'http://example.com/github key', 'created_at': 'YYYY-MM-DDTHH:MM:SZ', 'read_only': false}
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue