|
|
|
|
@ -237,7 +237,7 @@ EXAMPLES = R'''
|
|
|
|
|
# wait: yes
|
|
|
|
|
# # Note: route53 requires TXT entries to be enclosed in quotes
|
|
|
|
|
# value: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].resource_value | regex_replace('^(.*)$', '\"\\1\"') }}"
|
|
|
|
|
# when: sample_com_challenge is changed
|
|
|
|
|
# when: sample_com_challenge is changed
|
|
|
|
|
#
|
|
|
|
|
# Alternative way:
|
|
|
|
|
#
|
|
|
|
|
@ -251,8 +251,8 @@ EXAMPLES = R'''
|
|
|
|
|
# # 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 }}"
|
|
|
|
|
# with_dict: sample_com_challenge.challenge_data_dns
|
|
|
|
|
# when: sample_com_challenge is changed
|
|
|
|
|
# with_dict: sample_com_challenge.challenge_data_dns
|
|
|
|
|
# when: sample_com_challenge is changed
|
|
|
|
|
|
|
|
|
|
- name: Let the challenge be validated and retrieve the cert and intermediate certificate
|
|
|
|
|
acme_certificate:
|
|
|
|
|
@ -266,6 +266,7 @@ EXAMPLES = R'''
|
|
|
|
|
acme_directory: https://acme-v01.api.letsencrypt.org/directory
|
|
|
|
|
remaining_days: 60
|
|
|
|
|
data: "{{ sample_com_challenge }}"
|
|
|
|
|
when: sample_com_challenge is changed
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
RETURN = '''
|
|
|
|
|
|