Unquote urls in YAML - cloud (#5797)

pull/18777/head
Fabio Alessandro Locati 8 years ago committed by Matt Clay
parent eb54b80a92
commit ca047c3881

@ -156,7 +156,7 @@ EXAMPLES = '''
state: present state: present
region: us-east-1 region: us-east-1
disable_rollback: true disable_rollback: true
template_url: 'https://s3.amazonaws.com/my-bucket/cloudformation.template' template_url: https://s3.amazonaws.com/my-bucket/cloudformation.template
args: args:
template_parameters: template_parameters:
KeyName: jmartin KeyName: jmartin
@ -173,7 +173,7 @@ EXAMPLES = '''
state: present state: present
region: us-east-1 region: us-east-1
disable_rollback: true disable_rollback: true
template_url: 'https://s3.amazonaws.com/my-bucket/cloudformation.template' template_url: https://s3.amazonaws.com/my-bucket/cloudformation.template
role_arn: 'arn:aws:iam::123456789012:role/cloudformation-iam-role' role_arn: 'arn:aws:iam::123456789012:role/cloudformation-iam-role'
args: args:
template_parameters: template_parameters:

@ -44,7 +44,7 @@ options:
description: description:
- The keystone url for authentication - The keystone url for authentication
required: false required: false
default: 'http://127.0.0.1:35357/v2.0/' default: http://127.0.0.1:35357/v2.0/
region_name: region_name:
description: description:
- Name of the region - Name of the region
@ -126,7 +126,7 @@ EXAMPLES = '''
container_format: bare container_format: bare
disk_format: qcow2 disk_format: qcow2
state: present state: present
copy_from: 'http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img' copy_from: http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
''' '''
import time import time

@ -51,7 +51,7 @@ options:
description: description:
- The keystone url for authentication - The keystone url for authentication
required: false required: false
default: 'http://127.0.0.1:35357/v2.0/' default: http://127.0.0.1:35357/v2.0/
user: user:
description: description:
- The name of the user that has to added/removed from OpenStack - The name of the user that has to added/removed from OpenStack

@ -57,7 +57,7 @@ options:
description: description:
- The keystone url for authentication - The keystone url for authentication
required: false required: false
default: 'http://127.0.0.1:35357/v2.0/' default: http://127.0.0.1:35357/v2.0/
region_name: region_name:
description: description:
- Name of the region - Name of the region

@ -55,7 +55,7 @@ options:
description: description:
- The keystone url for authentication - The keystone url for authentication
required: false required: false
default: 'http://127.0.0.1:35357/v2.0/' default: http://127.0.0.1:35357/v2.0/
region_name: region_name:
description: description:
- Name of the region - Name of the region

@ -58,7 +58,7 @@ options:
description: description:
- The keystone url for authentication - The keystone url for authentication
required: false required: false
default: 'http://127.0.0.1:35357/v2.0/' default: http://127.0.0.1:35357/v2.0/
region_name: region_name:
description: description:
- Name of the region - Name of the region

@ -56,7 +56,7 @@ options:
description: description:
- the keystone url for authentication - the keystone url for authentication
required: false required: false
default: 'http://127.0.0.1:35357/v2.0/' default: http://127.0.0.1:35357/v2.0/
region_name: region_name:
description: description:
- name of the region - name of the region

@ -58,7 +58,7 @@ options:
description: description:
- The keystone url for authentication - The keystone url for authentication
required: false required: false
default: 'http://127.0.0.1:35357/v2.0/' default: http://127.0.0.1:35357/v2.0/
region_name: region_name:
description: description:
- Name of the region - Name of the region

@ -54,7 +54,7 @@ options:
description: description:
- The keystone url for authentication - The keystone url for authentication
required: false required: false
default: 'http://127.0.0.1:35357/v2.0/' default: http://127.0.0.1:35357/v2.0/
region_name: region_name:
description: description:
- Name of the region - Name of the region

@ -53,7 +53,7 @@ options:
description: description:
- The keystone URL for authentication - The keystone URL for authentication
required: false required: false
default: 'http://127.0.0.1:35357/v2.0/' default: http://127.0.0.1:35357/v2.0/
region_name: region_name:
description: description:
- Name of the region - Name of the region

@ -45,7 +45,7 @@ EXAMPLES = '''
- name: Gather facts about a previously created image named image1 - name: Gather facts about a previously created image named image1
os_image_facts: os_image_facts:
auth: auth:
auth_url: 'https://your_api_url.com:9000/v2.0' auth_url: https://your_api_url.com:9000/v2.0
username: user username: user
password: password password: password
project_name: someproject project_name: someproject

@ -49,7 +49,7 @@ EXAMPLES = '''
- name: Gather facts about previously created networks - name: Gather facts about previously created networks
os_networks_facts: os_networks_facts:
auth: auth:
auth_url: 'https://your_api_url.com:9000/v2.0' auth_url: https://your_api_url.com:9000/v2.0
username: user username: user
password: password password: password
project_name: someproject project_name: someproject
@ -61,7 +61,7 @@ EXAMPLES = '''
- name: Gather facts about a previously created network by name - name: Gather facts about a previously created network by name
os_networks_facts: os_networks_facts:
auth: auth:
auth_url: 'https://your_api_url.com:9000/v2.0' auth_url: https://your_api_url.com:9000/v2.0
username: user username: user
password: password password: password
project_name: someproject project_name: someproject
@ -75,7 +75,7 @@ EXAMPLES = '''
# Note: name and filters parameters are Not mutually exclusive # Note: name and filters parameters are Not mutually exclusive
os_networks_facts: os_networks_facts:
auth: auth:
auth_url: 'https://your_api_url.com:9000/v2.0' auth_url: https://your_api_url.com:9000/v2.0
username: user username: user
password: password password: password
project_name: someproject project_name: someproject

@ -209,7 +209,7 @@ EXAMPLES = '''
os_server: os_server:
state: present state: present
auth: auth:
auth_url: 'https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/' auth_url: https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/
username: admin username: admin
password: admin password: admin
project_name: admin project_name: admin
@ -234,7 +234,7 @@ EXAMPLES = '''
os_server: os_server:
state: present state: present
auth: auth:
auth_url: 'https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/' auth_url: https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/
username: username username: username
password: Equality7-2521 password: Equality7-2521
project_name: username-project1 project_name: username-project1
@ -301,7 +301,7 @@ EXAMPLES = '''
- name: launch an instance with a string - name: launch an instance with a string
os_server: os_server:
auth: auth:
auth_url: 'https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/' auth_url: https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/
username: admin username: admin
password: admin password: admin
project_name: admin project_name: admin
@ -316,7 +316,7 @@ EXAMPLES = '''
os_server: os_server:
state: present state: present
auth: auth:
auth_url: 'https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/' auth_url: https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/
username: admin username: admin
password: admin password: admin
project_name: admin project_name: admin
@ -334,7 +334,7 @@ EXAMPLES = '''
os_server: os_server:
state: present state: present
auth: auth:
auth_url: 'https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/' auth_url: https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/
username: admin username: admin
password: admin password: admin
project_name: admin project_name: admin

@ -49,7 +49,7 @@ EXAMPLES = '''
- name: Gather facts about previously created subnets - name: Gather facts about previously created subnets
os_subnets_facts: os_subnets_facts:
auth: auth:
auth_url: 'https://your_api_url.com:9000/v2.0' auth_url: https://your_api_url.com:9000/v2.0
username: user username: user
password: password password: password
project_name: someproject project_name: someproject
@ -61,7 +61,7 @@ EXAMPLES = '''
- name: Gather facts about a previously created subnet by name - name: Gather facts about a previously created subnet by name
os_subnets_facts: os_subnets_facts:
auth: auth:
auth_url: 'https://your_api_url.com:9000/v2.0' auth_url: https://your_api_url.com:9000/v2.0
username: user username: user
password: password password: password
project_name: someproject project_name: someproject
@ -75,7 +75,7 @@ EXAMPLES = '''
# Note: name and filters parameters are not mutually exclusive # Note: name and filters parameters are not mutually exclusive
os_subnets_facts: os_subnets_facts:
auth: auth:
auth_url: 'https://your_api_url.com:9000/v2.0' auth_url: https://your_api_url.com:9000/v2.0
username: user username: user
password: password password: password
project_name: someproject project_name: someproject

@ -53,7 +53,7 @@ options:
description: description:
- The keystone URL for authentication - The keystone URL for authentication
required: false required: false
default: 'http://127.0.0.1:35357/v2.0/' default: http://127.0.0.1:35357/v2.0/
region_name: region_name:
description: description:
- Name of the region - Name of the region

Loading…
Cancel
Save