add state parameter to route53 module
<!--- Your description here --> route53 module state parameter is required (https://docs.ansible.com/ansible/latest/modules/route53_module.html#parameters), so the example is not working out of the box in ansible. Required state parameters has been introduced in commit698fa37a44
(698fa37a44
) +label: docsite_pr
This commit is contained in:
parent
c3b059d61c
commit
b30d2ce9e5
1 changed files with 2 additions and 0 deletions
|
@ -233,6 +233,7 @@ EXAMPLES = R'''
|
||||||
# record: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].record }}"
|
# record: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].record }}"
|
||||||
# type: TXT
|
# type: TXT
|
||||||
# ttl: 60
|
# ttl: 60
|
||||||
|
# state: present
|
||||||
# # Note: route53 requires TXT entries to be enclosed in quotes
|
# # Note: route53 requires TXT entries to be enclosed in quotes
|
||||||
# value: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].resource_value }}"
|
# value: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].resource_value }}"
|
||||||
# when: sample_com_challenge is changed
|
# when: sample_com_challenge is changed
|
||||||
|
@ -244,6 +245,7 @@ EXAMPLES = R'''
|
||||||
# record: "{{ item.key }}"
|
# record: "{{ item.key }}"
|
||||||
# type: TXT
|
# type: TXT
|
||||||
# ttl: 60
|
# ttl: 60
|
||||||
|
# state: present
|
||||||
# # Note: item.value is a list of TXT entries, and route53
|
# # Note: item.value is a list of TXT entries, and route53
|
||||||
# # requires every entry to be enclosed in quotes
|
# # requires every entry to be enclosed in quotes
|
||||||
# value: "{{ item.value | map('regex_replace', '^(.*)$', '\'\\1\'' ) | list }}"
|
# value: "{{ item.value | map('regex_replace', '^(.*)$', '\'\\1\'' ) | list }}"
|
||||||
|
|
Loading…
Reference in a new issue