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
|
||||
tag2: value2
|
||||
service_role: arn:aws:iam::<account>:role/service-role/<role>
|
||||
register: aws_batch_compute_environment_action
|
||||
|
||||
- name: show results
|
||||
debug: var=aws_batch_compute_environment_action
|
||||
debug:
|
||||
var: aws_batch_compute_environment_action
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
|
@ -67,7 +67,7 @@ EXAMPLES = '''
|
|||
state: present
|
||||
tasks:
|
||||
- name: My Batch Job Queue
|
||||
batch_job_queue:
|
||||
aws_batch_job_queue:
|
||||
job_queue_name: jobQueueName
|
||||
state: present
|
||||
region: us-east-1
|
||||
|
@ -78,9 +78,11 @@ EXAMPLES = '''
|
|||
compute_environment: my_compute_env1
|
||||
- order: 2
|
||||
compute_environment: my_compute_env2
|
||||
register: batch_job_queue_action
|
||||
|
||||
- name: show results
|
||||
debug: var=batch_job_queue_action
|
||||
debug:
|
||||
var: batch_job_queue_action
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
|
@ -57,7 +57,8 @@ EXAMPLES = '''
|
|||
names: "alb-name"
|
||||
region: "aws-region"
|
||||
register: alb_info
|
||||
- debug: var=alb_info
|
||||
- debug:
|
||||
var: alb_info
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
|
@ -111,9 +111,11 @@ EXAMPLES = '''
|
|||
principal: s3.amazonaws.com
|
||||
source_arn: arn:aws:s3:eu-central-1:123456789012:bucketName
|
||||
source_account: 123456789012
|
||||
register: lambda_policy_action
|
||||
|
||||
- name: show results
|
||||
debug: var=lambda_policy_action
|
||||
debug:
|
||||
var: lambda_policy_action
|
||||
|
||||
'''
|
||||
|
||||
|
|
Loading…
Reference in a new issue