Troubleshooting
Common errors and known issues.
Ansible® Python Interpreter
When implementing playbooks for your operators and using the delegate_to
key, you may encounter the following error (or something similar) stating that the path to your python executable is invalid:
If you are experiencing this issue, supply the ansible_python_interpreter
variable in the vars
section of your playbook, or at the task level if necessary:
where PATH_TO_PYTHON
is the path to your python executable, i.e. /usr/bin/python3
.
SSL Certificates
If you experience issues with urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]
, or similar issues, you may need to install and use SSL Certificates before running this extension.
To install SSL Certificates in Python, you can install the certifi
package via pip
:
Alternatively, you can navigate to your python folder and run the Certificates
command from your terminal: