diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16376346..dc23c831 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: python-version: '3.x' - name: Install test dependencies - run: pip install yamllint ansible-lint + run: pip install yamllint ansible-lint[core] - name: Lint code run: | diff --git a/templates/usr/local/bin/haproxy-letsencrypt-ocsp-deploy.j2 b/templates/usr/local/bin/haproxy-letsencrypt-ocsp-deploy.j2 index 98730664..52c6571e 100644 --- a/templates/usr/local/bin/haproxy-letsencrypt-ocsp-deploy.j2 +++ b/templates/usr/local/bin/haproxy-letsencrypt-ocsp-deploy.j2 @@ -22,13 +22,13 @@ for path in $(ls -1d {{ haproxy_letsencrypt_ssl_src_path }}/*/); do ocspUrl="$(openssl x509 -noout -ocsp_uri -in ${path}{{ haproxy_letsencrypt_ssl_cert_name }})"; - openssl ocsp -no_nonce -respout "{{ haproxy_global_crt_base }}/${prefix}-${cert}.ocsp" \ + openssl ocsp -no_nonce -respout "{{ haproxy_global_crt_base }}/${prefix}-${cert}.pem.ocsp" \ -issuer "${path}{{ haproxy_letsencrypt_ssl_chain_name }}" \ -verify_other "${path}{{ haproxy_letsencrypt_ssl_chain_name }}" \ -cert "${path}{{ haproxy_letsencrypt_ssl_cert_name }}" \ -url "${ocspUrl}"; - rm -f "{{ haproxy_global_crt_base }}/${removePrefix}-${cert}.ocsp"; + rm -f "{{ haproxy_global_crt_base }}/${removePrefix}-${cert}.pem.ocsp"; done {% if ansible_service_mgr == 'systemd' %}