mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-05 07:49:10 -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue