|
|
@ -56,9 +56,10 @@ options:
|
|
|
|
next_marker:
|
|
|
|
next_marker:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- "Some requests such as list_command: hosted_zones will return a maximum
|
|
|
|
- "Some requests such as list_command: hosted_zones will return a maximum
|
|
|
|
number of entries - EG 100. If the number of entries exceeds this maximum
|
|
|
|
number of entries - EG 100 or the number specified by max_items.
|
|
|
|
another request can be sent using the NextMarker entry from the first response
|
|
|
|
If the number of entries exceeds this maximum another request can be sent
|
|
|
|
to get the next page of results"
|
|
|
|
using the NextMarker entry from the first response to get the next page
|
|
|
|
|
|
|
|
of results"
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
delegation_set_id:
|
|
|
|
delegation_set_id:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -163,6 +164,17 @@ EXAMPLES = '''
|
|
|
|
delegation_set_id: delegation id
|
|
|
|
delegation_set_id: delegation id
|
|
|
|
register: delegation_sets
|
|
|
|
register: delegation_sets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: setup of example for using next_marker
|
|
|
|
|
|
|
|
route53_facts:
|
|
|
|
|
|
|
|
query: hosted_zone
|
|
|
|
|
|
|
|
max_items: 1
|
|
|
|
|
|
|
|
register: first_facts
|
|
|
|
|
|
|
|
- name: example for using next_marker
|
|
|
|
|
|
|
|
route53_facts:
|
|
|
|
|
|
|
|
query: hosted_zone
|
|
|
|
|
|
|
|
next_marker: "{{ first_facts.NextMarker }}"
|
|
|
|
|
|
|
|
max_items: 1
|
|
|
|
|
|
|
|
when: "{{ 'NextMarker' in first_facts }}"
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
import boto
|
|
|
|
import boto
|
|
|
@ -404,7 +416,7 @@ def main():
|
|
|
|
'count',
|
|
|
|
'count',
|
|
|
|
'tags',
|
|
|
|
'tags',
|
|
|
|
], default='list'),
|
|
|
|
], default='list'),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
module = AnsibleModule(
|
|
|
|
module = AnsibleModule(
|
|
|
|