ansible-role-lets-encrypt-route-53 icon indicating copy to clipboard operation
ansible-role-lets-encrypt-route-53 copied to clipboard

Revert ansible interpreter

Open jsmcnair opened this issue 4 years ago • 1 comments

This is probably a bit of an edge case, but I noticed an issue when using this role.

To replicate the issue, you would have to have a playbook that delegates a task to localhost once the plays in this role have completed. I was getting a permission denied on the path to the python in the virtualenv, presumably because it doesn't exist on localhost.

The fix is to flag that the interpreter has been changed and revert to the 'discovered' python interpreter at the end of the plays in the role.

jsmcnair avatar Oct 20 '20 08:10 jsmcnair

@jsmcnair are you planning on addressing the feedback in the PR?

mprahl avatar Aug 05 '22 13:08 mprahl