mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-08 06:13:03 +00:00
Fix acme_inspect tests. (#565)
This commit is contained in:
@@ -162,7 +162,7 @@
|
|||||||
method: get
|
method: get
|
||||||
register: validation_result
|
register: validation_result
|
||||||
loop: "{{ http01challenge.results | map(attribute='output_json') | list }}"
|
loop: "{{ http01challenge.results | map(attribute='output_json') | list }}"
|
||||||
until: "validation_result.output_json.status != 'pending'"
|
until: "validation_result.output_json.status not in ['pending', 'processing']"
|
||||||
retries: 20
|
retries: 20
|
||||||
delay: 1
|
delay: 1
|
||||||
- debug: var=validation_result
|
- debug: var=validation_result
|
||||||
|
|||||||
@@ -111,7 +111,7 @@
|
|||||||
- "'headers' in item"
|
- "'headers' in item"
|
||||||
- "'output_text' in item"
|
- "'output_text' in item"
|
||||||
- "'output_json' in item"
|
- "'output_json' in item"
|
||||||
- item.output_json.status == 'pending'
|
- item.output_json.status in ['pending', 'processing']
|
||||||
- item.output_json.type == 'http-01'
|
- item.output_json.type == 'http-01'
|
||||||
- item.output_json.url == item.invocation.module_args.url
|
- item.output_json.url == item.invocation.module_args.url
|
||||||
- "'token' in item.output_json"
|
- "'token' in item.output_json"
|
||||||
|
|||||||
Reference in New Issue
Block a user