To improve readability, we added a line feed. (#43801)

* 	modified:   google/gcp_compute_backend_bucket.py
	modified:   google/gcp_compute_backend_service.py
	modified:   google/gcp_compute_forwarding_rule.py
	modified:   google/gcp_compute_global_forwarding_rule.py
	modified:   google/gcp_compute_image.py
	modified:   google/gcp_compute_instance.py
	modified:   google/gcp_compute_instance_group.py
	modified:   google/gcp_compute_instance_group_manager.py
	modified:   google/gcp_compute_instance_template.py
	modified:   google/gcp_compute_route.py
	modified:   google/gcp_compute_subnetwork.py
	modified:   google/gcp_compute_target_http_proxy.py
	modified:   google/gcp_compute_target_https_proxy.py
	modified:   google/gcp_compute_target_ssl_proxy.py
	modified:   google/gcp_compute_target_tcp_proxy.py
	modified:   google/gcp_compute_url_map.py
	modified:   google/gcp_container_node_pool.py
	modified:   google/gcp_dns_resource_record_set.py
	modified:   google/gcp_pubsub_subscription.py
	modified:   google/gcp_storage_bucket_access_control.py

* 	modified:   lib/ansible/modules/cloud/amazon/aws_ses_identity.py
	modified:   lib/ansible/modules/cloud/amazon/route53_facts.py
	modified:   lib/ansible/modules/cloud/cloudscale/cloudscale_server.py
	modified:   lib/ansible/modules/network/aos/_aos_logical_device.py
	modified:   lib/ansible/modules/network/aos/_aos_rack_type.py
	modified:   lib/ansible/modules/network/aos/_aos_template.py
	modified:   lib/ansible/modules/network/cumulus/nclu.py
	modified:   lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_launch.py
	modified:   lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_wait.py
This commit is contained in:
curry9999 2018-08-09 08:10:26 +09:00 committed by John R Barker
parent 4a0b32083c
commit 2d79589515
29 changed files with 58 additions and 0 deletions

View file

@ -114,6 +114,7 @@ EXAMPLES = '''
state: present
purge_subscriptions: False
register: topic_info
- name: Deliver feedback to topic instead of owner email
aws_ses_identity:
identity: example@example.com
@ -134,6 +135,7 @@ EXAMPLES = '''
state: present
purge_subscriptions: False
register: topic_info
- name: Delivery notifications to topic
aws_ses_identity:
identity: example@example.com

View file

@ -163,6 +163,7 @@ EXAMPLES = '''
query: hosted_zone
max_items: 1
register: first_facts
- name: example for using next_marker
route53_facts:
query: hosted_zone

View file

@ -95,6 +95,7 @@ options:
EXAMPLES = '''
# Start a server (if it does not exist) and register the server details
- name: Start cloudscale.ch server
cloudscale_server:
name: my-shiny-cloudscale-server

View file

@ -87,6 +87,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/devstorage.full_control
state: present
register: bucket
- name: create a backend bucket
gcp_compute_backend_bucket:
name: testObject

View file

@ -247,6 +247,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: instancegroup
- name: create a http health check
gcp_compute_http_health_check:
name: 'httphealthcheck-backendservice'
@ -261,6 +262,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: healthcheck
- name: create a backend service
gcp_compute_backend_service:
name: testObject

View file

@ -161,6 +161,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: address
- name: create a target pool
gcp_compute_target_pool:
name: 'targetpool-forwardingrule'
@ -172,6 +173,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: targetpool
- name: create a forwarding rule
gcp_compute_forwarding_rule:
name: testObject

View file

@ -160,6 +160,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: globaladdress
- name: create a instance group
gcp_compute_instance_group:
name: 'instancegroup-globalforwardingrule'
@ -171,6 +172,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: instancegroup
- name: create a http health check
gcp_compute_http_health_check:
name: 'httphealthcheck-globalforwardingrule'
@ -185,6 +187,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: healthcheck
- name: create a backend service
gcp_compute_backend_service:
name: 'backendservice-globalforwardingrule'
@ -200,6 +203,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: backendservice
- name: create a url map
gcp_compute_url_map:
name: 'urlmap-globalforwardingrule'
@ -211,6 +215,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: urlmap
- name: create a target http proxy
gcp_compute_target_http_proxy:
name: 'targethttpproxy-globalforwardingrule'
@ -222,6 +227,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: httpproxy
- name: create a global forwarding rule
gcp_compute_global_forwarding_rule:
name: testObject

View file

@ -191,6 +191,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: disk
- name: create a image
gcp_compute_image:
name: testObject

View file

@ -364,6 +364,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: disk
- name: create a network
gcp_compute_network:
name: 'network-instance'
@ -374,6 +375,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: network
- name: create a address
gcp_compute_address:
name: 'address-instance'
@ -385,6 +387,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: address
- name: create a instance
gcp_compute_instance:
name: testObject

View file

@ -108,6 +108,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: network
- name: create a instance group
gcp_compute_instance_group:
name: testObject

View file

@ -116,6 +116,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: network
- name: create a address
gcp_compute_address:
name: 'address-instancetemplate'
@ -127,6 +128,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: address
- name: create a instance template
gcp_compute_instance_template:
name: "{{ resource_name }}"
@ -150,6 +152,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: instancetemplate
- name: create a instance group manager
gcp_compute_instance_group_manager:
name: testObject

View file

@ -365,6 +365,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: network
- name: create a address
gcp_compute_address:
name: 'address-instancetemplate'
@ -376,6 +377,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: address
- name: create a instance template
gcp_compute_instance_template:
name: testObject

View file

@ -130,6 +130,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: network
- name: create a route
gcp_compute_route:
name: testObject

View file

@ -117,6 +117,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: network
- name: create a subnetwork
gcp_compute_subnetwork:
name: 'ansiblenet'

View file

@ -79,6 +79,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: instancegroup
- name: create a http health check
gcp_compute_http_health_check:
name: 'httphealthcheck-targethttpproxy'
@ -93,6 +94,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: healthcheck
- name: create a backend service
gcp_compute_backend_service:
name: 'backendservice-targethttpproxy'
@ -108,6 +110,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: backendservice
- name: create a url map
gcp_compute_url_map:
name: 'urlmap-targethttpproxy'
@ -119,6 +122,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: urlmap
- name: create a target http proxy
gcp_compute_target_http_proxy:
name: testObject

View file

@ -84,6 +84,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: instancegroup
- name: create a http health check
gcp_compute_http_health_check:
name: 'httphealthcheck-targethttpsproxy'
@ -98,6 +99,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: healthcheck
- name: create a backend service
gcp_compute_backend_service:
name: 'backendservice-targethttpsproxy'
@ -113,6 +115,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: backendservice
- name: create a url map
gcp_compute_url_map:
name: 'urlmap-targethttpsproxy'
@ -124,6 +127,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: urlmap
- name: create a ssl certificate
gcp_compute_ssl_certificate:
name: 'sslcert-targethttpsproxy'
@ -160,6 +164,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: sslcert
- name: create a target https proxy
gcp_compute_target_https_proxy:
name: testObject

View file

@ -90,6 +90,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: instancegroup
- name: create a health check
gcp_compute_health_check:
name: 'healthcheck-targetsslproxy'
@ -108,6 +109,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: healthcheck
- name: create a backend service
gcp_compute_backend_service:
name: 'backendservice-targetsslproxy'
@ -123,6 +125,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: backendservice
- name: create a ssl certificate
gcp_compute_ssl_certificate:
name: 'sslcert-targetsslproxy'
@ -159,6 +162,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: sslcert
- name: create a target ssl proxy
gcp_compute_target_ssl_proxy:
name: testObject

View file

@ -85,6 +85,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: instancegroup
- name: create a health check
gcp_compute_health_check:
name: 'healthcheck-targettcpproxy'
@ -103,6 +104,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: healthcheck
- name: create a backend service
gcp_compute_backend_service:
name: 'backendservice-targettcpproxy'
@ -118,6 +120,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: backendservice
- name: create a target tcp proxy
gcp_compute_target_tcp_proxy:
name: testObject

View file

@ -155,6 +155,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: instancegroup
- name: create a http health check
gcp_compute_http_health_check:
name: 'httphealthcheck-urlmap'
@ -169,6 +170,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: healthcheck
- name: create a backend service
gcp_compute_backend_service:
name: 'backendservice-urlmap'
@ -184,6 +186,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/compute
state: present
register: backendservice
- name: create a url map
gcp_compute_url_map:
name: testObject

View file

@ -221,6 +221,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/cloud-platform
state: present
register: cluster
- name: create a node pool
gcp_container_node_pool:
name: testObject

View file

@ -89,6 +89,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/ndev.clouddns.readwrite
state: present
register: managed_zone
- name: create a resource record set
gcp_dns_resource_record_set:
name: 'www.testzone-4.com.'

View file

@ -98,6 +98,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/pubsub
state: present
register: topic
- name: create a subscription
gcp_pubsub_subscription:
name: testObject

View file

@ -108,6 +108,7 @@ EXAMPLES = '''
- https://www.googleapis.com/auth/devstorage.full_control
state: present
register: bucket
- name: create a bucket access control
gcp_storage_bucket_access_control:
bucket: "{{ bucket }}"

View file

@ -87,6 +87,7 @@ EXAMPLES = '''
name: "my-logical-device"
state: present
register: logical_device
- name: "Save Logical Device into a JSON file 2/3"
copy:
content: "{{ logical_device.value | to_nice_json }}"

View file

@ -87,6 +87,7 @@ EXAMPLES = '''
name: "my-rack-type"
state: present
register: rack_type
- name: "Save Rack Type into a JSON file 2/3"
copy:
content: "{{ rack_type.value | to_nice_json }}"

View file

@ -96,6 +96,7 @@ EXAMPLES = '''
name: "my-template"
state: present
register: template
- name: "Save Template into a JSON file 2/3"
copy:
content: "{{ template.value | to_nice_json }}"

View file

@ -84,6 +84,7 @@ EXAMPLES = '''
commands:
- show interface swp1
register: output
- name: Print Status Of Interface
debug:
var: output
@ -93,6 +94,7 @@ EXAMPLES = '''
commands:
- show interface json
register: output
- name: Print Interface Details
debug:
var: output["msg"]
@ -126,6 +128,7 @@ EXAMPLES = '''
commands:
- show bgp summary json
register: output
- name: Print BGP Status In JSON
debug:
var: output["msg"]

View file

@ -62,6 +62,7 @@ EXAMPLES = '''
tower_job_launch:
job_template: "My Job Template"
register: job
- name: Wait for job max 120s
tower_job_wait:
job_id: job.id

View file

@ -46,6 +46,7 @@ EXAMPLES = '''
tower_job_launch:
job_template: "My Job Template"
register: job
- name: Wait for job max 120s
tower_job_wait:
job_id: job.id