Felix Fontein 2021-08-22 12:41:41 +02:00 committed by GitHub
parent 08ada24a53
commit 94fc356338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 11 deletions

View File

@ -99,17 +99,6 @@
regexp: 'os\.remove\(wellknown_path\)'
replace: 'pass'
- name: "Monkey-patch acme-tiny: Avoid crash on already valid challenges (https://github.com/diafygi/acme-tiny/pull/254)"
blockinfile:
path: "{{ output_dir }}/acme-tiny"
marker: "# {mark} ANSIBLE MANAGED BLOCK: AVOID CRASH ON ALREADY VALID CHALLENGES"
insertbefore: '# find the http-01 challenge and write the challenge file'
block: |2
# skip if already valid
if authorization['status'] == "valid":
log.info("{0} already verified. Skipping.".format(domain))
continue
- name: Create challenges directory
file:
path: '{{ output_dir }}/challenges'