update value in acme_certificate route53 example

fixes #49032

Co-Authored-By: endorama <endorama@users.noreply.github.com>
pull/49064/head
Felix Fontein 6 years ago committed by ansibot
parent b30d2ce9e5
commit de1c9c53c3

@ -235,7 +235,7 @@ EXAMPLES = R'''
# 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 }}"
# value: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].resource_value | regex_replace('^(.*)$', '\"\\1\"') }}"
# when: sample_com_challenge is changed
#
# Alternative way:
@ -248,7 +248,7 @@ EXAMPLES = R'''
# 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 }}"
# value: "{{ item.value | map('regex_replace', '^(.*)$', '\"\\1\"' ) | list }}"
# loop: "{{ sample_com_challenge.challenge_data_dns | dictsort }}"
# when: sample_com_challenge is changed

Loading…
Cancel
Save