Fix doc errors in AWS modules (#63851)
* Fix register/debug in aws_batch_compute_environment * Fix aws_batch_job_queue doc errors * Fix module naming: `batch_job_queue` > `aws_batch_job_queue` * Fix missing register * Update debug task to use modern YAML format * Fix missing register + debug for lambda_policy * Fix YAML syntax for elb_application_lb_info module Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
parent
f279715c29
commit
e4f16368ed
4 changed files with 12 additions and 5 deletions
|
@ -151,9 +151,11 @@ EXAMPLES = '''
|
||||||
tag1: value1
|
tag1: value1
|
||||||
tag2: value2
|
tag2: value2
|
||||||
service_role: arn:aws:iam::<account>:role/service-role/<role>
|
service_role: arn:aws:iam::<account>:role/service-role/<role>
|
||||||
|
register: aws_batch_compute_environment_action
|
||||||
|
|
||||||
- name: show results
|
- name: show results
|
||||||
debug: var=aws_batch_compute_environment_action
|
debug:
|
||||||
|
var: aws_batch_compute_environment_action
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|
|
@ -67,7 +67,7 @@ EXAMPLES = '''
|
||||||
state: present
|
state: present
|
||||||
tasks:
|
tasks:
|
||||||
- name: My Batch Job Queue
|
- name: My Batch Job Queue
|
||||||
batch_job_queue:
|
aws_batch_job_queue:
|
||||||
job_queue_name: jobQueueName
|
job_queue_name: jobQueueName
|
||||||
state: present
|
state: present
|
||||||
region: us-east-1
|
region: us-east-1
|
||||||
|
@ -78,9 +78,11 @@ EXAMPLES = '''
|
||||||
compute_environment: my_compute_env1
|
compute_environment: my_compute_env1
|
||||||
- order: 2
|
- order: 2
|
||||||
compute_environment: my_compute_env2
|
compute_environment: my_compute_env2
|
||||||
|
register: batch_job_queue_action
|
||||||
|
|
||||||
- name: show results
|
- name: show results
|
||||||
debug: var=batch_job_queue_action
|
debug:
|
||||||
|
var: batch_job_queue_action
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|
|
@ -57,7 +57,8 @@ EXAMPLES = '''
|
||||||
names: "alb-name"
|
names: "alb-name"
|
||||||
region: "aws-region"
|
region: "aws-region"
|
||||||
register: alb_info
|
register: alb_info
|
||||||
- debug: var=alb_info
|
- debug:
|
||||||
|
var: alb_info
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|
|
@ -111,9 +111,11 @@ EXAMPLES = '''
|
||||||
principal: s3.amazonaws.com
|
principal: s3.amazonaws.com
|
||||||
source_arn: arn:aws:s3:eu-central-1:123456789012:bucketName
|
source_arn: arn:aws:s3:eu-central-1:123456789012:bucketName
|
||||||
source_account: 123456789012
|
source_account: 123456789012
|
||||||
|
register: lambda_policy_action
|
||||||
|
|
||||||
- name: show results
|
- name: show results
|
||||||
debug: var=lambda_policy_action
|
debug:
|
||||||
|
var: lambda_policy_action
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue