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 commit 698fa37a44 (698fa37a44)

+label: docsite_pr
This commit is contained in:
Edoardo T 2018-11-22 18:29:13 +01:00 committed by ansibot
parent c3b059d61c
commit b30d2ce9e5

View file

@ -233,6 +233,7 @@ EXAMPLES = R'''
# record: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].record }}"
# type: TXT
# ttl: 60
# state: present
# # Note: route53 requires TXT entries to be enclosed in quotes
# value: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].resource_value }}"
# when: sample_com_challenge is changed
@ -244,6 +245,7 @@ EXAMPLES = R'''
# record: "{{ item.key }}"
# type: TXT
# ttl: 60
# state: present
# # Note: item.value is a list of TXT entries, and route53
# # requires every entry to be enclosed in quotes
# value: "{{ item.value | map('regex_replace', '^(.*)$', '\'\\1\'' ) | list }}"