mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Examples syntax batch5 (#5622)
* Change example syntax on supervisorctl module * Change example syntax or _ec2_ami_search module * Change example syntax on cloudformation module * Change example syntax on ec2 module * Change example syntax on ec2_facts module * Change example syntax on ec2_eip module * Change example syntax on rds module * Change example syntax on route53 module * Change example syntax on s3 module * Change example syntax on digital_ocean module * Change example syntax on docker_service module * Change example syntax on cloudformation module * Change example syntax on gc_storage module * Change example syntax on gce module * Change example syntax on gce_mig module * Change example syntax on _glance_image module * Change example syntax on _keystone_user module * Change example syntax on _nova_keypair module * Change example syntax on _quantum_floating module * Change example syntax on _quantum_floating_ip_associate module * Change example syntax on _quantum_network module * Change example syntax on _quantum_router module * Change example syntax on _quantum_router_gateway module * Change example syntax on _quantum_router_interface module * Change example syntax on _quantum_subnet module * SQUASH _quantum_subnet * Add missing quotes
This commit is contained in:
parent
b56a9852ee
commit
38c0769abb
24 changed files with 385 additions and 167 deletions
|
@ -190,14 +190,16 @@ EXAMPLES = '''
|
|||
project_src: flask
|
||||
register: output
|
||||
|
||||
- debug: var=output
|
||||
- debug:
|
||||
var: output
|
||||
|
||||
- docker_service:
|
||||
project_src: flask
|
||||
build: no
|
||||
register: output
|
||||
|
||||
- debug: var=output
|
||||
- debug:
|
||||
var: output
|
||||
|
||||
- assert:
|
||||
that: "not output.changed "
|
||||
|
@ -208,7 +210,8 @@ EXAMPLES = '''
|
|||
stopped: true
|
||||
register: output
|
||||
|
||||
- debug: var=output
|
||||
- debug:
|
||||
var: output
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -221,7 +224,8 @@ EXAMPLES = '''
|
|||
restarted: true
|
||||
register: output
|
||||
|
||||
- debug: var=output
|
||||
- debug:
|
||||
var: output
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -239,7 +243,8 @@ EXAMPLES = '''
|
|||
web: 2
|
||||
register: output
|
||||
|
||||
- debug: var=output
|
||||
- debug:
|
||||
var: output
|
||||
|
||||
- name: Run with inline v2 compose
|
||||
hosts: localhost
|
||||
|
@ -268,7 +273,8 @@ EXAMPLES = '''
|
|||
- db
|
||||
register: output
|
||||
|
||||
- debug: var=output
|
||||
- debug:
|
||||
var: output
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
@ -300,7 +306,8 @@ EXAMPLES = '''
|
|||
- db
|
||||
register: output
|
||||
|
||||
- debug: var=output
|
||||
- debug:
|
||||
var: output
|
||||
|
||||
- assert:
|
||||
that:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue