diff --git a/requirements-test.txt b/requirements-test.txt index 5a5565f..96b77f4 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,4 +1,5 @@ ansible ansible-lint molecule -molecule-docker +requests==2.31.0 +molecule-plugins[docker] diff --git a/tasks/main.yml b/tasks/main.yml index 5a22d26..a16264c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -222,12 +222,14 @@ - name: Create Logstash compatible key ansible.builtin.command: > openssl pkcs8 - -in {{ ca_client_ca_dir }}/{{ inventory_hostname }}.key + -inform PEM + -outform PEM + -nocrypt -topk8 + -in {{ ca_client_ca_dir }}/{{ inventory_hostname }}.key -passin pass:{{ ca_keypassphrase | default(omit, true) }} {% if ca_ls7_workaround | bool %}-v1 {{ ca_ls7_workaround_cipher }}{% endif %} -out {{ ca_client_ca_dir }}/{{ inventory_hostname }}-pkcs8.key - -passout pass:{{ ca_keypassphrase | default(omit, true) }} args: creates: "{{ ca_client_ca_dir }}/{{ inventory_hostname }}-pkcs8.key"