-
Notifications
You must be signed in to change notification settings - Fork 86
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
openssl_privkey fails in check mode #242
Labels
bug
Something isn't working
Comments
A readable version of the traceback:
|
This seems to be a bug in ansible-core which has been fixed in ansible/ansible#64279 - unfortunately that hasn't been backported to stable-2.11 or earlier. Since it definitely won't be backported to Ansible 2.9 (which we still support), I guess we have to fix it on our side as well. |
This was referenced Jun 2, 2021
Should be fixed by #243. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
When generating a new key with openssl_privkey in --check mode it fails with file not found
ISSUE TYPE
COMPONENT NAME
openssl_privkey
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 20.04.2 LTS
STEPS TO REPRODUCE
Try to generate a private key with ansible check mode
ansible-playbook -C generate_openssl_key.yml -i test,
EXPECTED RESULTS
Play should just skip task since there is need to generate an actual key in check mode
ACTUAL RESULTS
Play fails with a fatal "File not found" error for the path of the key
The text was updated successfully, but these errors were encountered: