Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Venafi Certificate PEM file is not copied unless certificate_pkcs12_format is explicitly set to false #27

Open
AaronJaegerVA opened this issue Jul 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@AaronJaegerVA
Copy link

PROBLEM SUMMARY
Venafi Certificate PEM file is not copied unless certificate_pkcs12_format is explicitly set to false

STEPS TO REPRODUCE

  1. Do not set certificate_pkcs12_format to any value (expecting the default of 'false' to take effect)
  2. Run a playbook that calls the role to generate a certificate and key

EXPECTED RESULTS
This task should fire:

- name: "Copy Venafi PEM certificate file to remote location {{ certificate_remote_cert_path if certificate_remote_cert_path is defined else certificate_cert_path }}"
copy:
src: "{{ certificate_cert_path }}"
dest: "{{ certificate_remote_cert_path if certificate_remote_cert_path is defined else certificate_cert_path }}"
mode: 0644
when: not certificate_pkcs12_format

ACTUAL RESULTS
The task above is skipped.

ENVIRONMENT DETAILS
We're using the latest version of the collection on top of Red Hat Ansible Tower which is using Ansible 2.9.x

COMMENTS/WORKAROUNDS
If you explicitly set certificate_pkcs12_format: false things work fine.

@AaronJaegerVA AaronJaegerVA added the bug Something isn't working label Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant