Closed mjovanc closed 2 years ago
Look where Ansible is installed on the runner. I'm guessing it's going to be somewhere inside /opt
. Then try to pinpoint the Python interpreter that Ansible uses to run and run this Python's pip to install the module.
Try it.
ansible --version
will show you where is the ansible installed. It's installed by pipx
.
- name: Setup ansible
run: |
ansible --version
pipx inject ansible-core jmespath
Perhaps this is not the right community. But I'm using your plugin in my pipeline and I need to somehow install the dependency before even running Ansible on the Github Runner. And that does not seem to work for some reason. Any idea what this could be?
The error message I get is: