mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
update value in acme_certificate route53 example
fixes #49032 Co-Authored-By: endorama <endorama@users.noreply.github.com>
This commit is contained in:
parent
b30d2ce9e5
commit
de1c9c53c3
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue