acme_certificate: Improve challenge docs (#175)

* Fix "'list object' has no attribute 'value'" error
pull/178/head
Orosz Dávid 2021-01-22 08:01:07 +01:00 committed by GitHub
parent cd64bf8324
commit 3ca4c48b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ EXAMPLES = r'''
# - copy: # - copy:
# dest: /var/www/{{ item.key }}/{{ item.value['http-01']['resource'] }} # dest: /var/www/{{ item.key }}/{{ item.value['http-01']['resource'] }}
# content: "{{ item.value['http-01']['resource_value'] }}" # content: "{{ item.value['http-01']['resource_value'] }}"
# loop: "{{ sample_com_challenge.challenge_data | dictsort }}" # loop: "{{ sample_com_challenge.challenge_data | dict2items }}"
# when: sample_com_challenge is changed # when: sample_com_challenge is changed
- name: Let the challenge be validated and retrieve the cert and intermediate certificate - name: Let the challenge be validated and retrieve the cert and intermediate certificate
@ -363,7 +363,7 @@ EXAMPLES = r'''
# # 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 }}"
# loop: "{{ sample_com_challenge.challenge_data_dns | dictsort }}" # loop: "{{ sample_com_challenge.challenge_data_dns | dict2items }}"
# when: sample_com_challenge is changed # when: sample_com_challenge is changed
- name: Let the challenge be validated and retrieve the cert and intermediate certificate - name: Let the challenge be validated and retrieve the cert and intermediate certificate