ansible-role-supervisor
ansible-role-supervisor copied to clipboard
Unable to find any of pip3 to use. pip needs to be installed.
I cannot run this role on Ubuntu 20.4 :
TASK [supervisor : Ensure Supervisor is installed.] ****************************
fatal: [snfreports-com]: FAILED! => {"changed": false, "msg": "Unable to find any of pip3 to use. pip needs to be installed."}
I fixed it with:
- name: install pip3
apt:
name:
- python3-pip
state: present
- name: Ensure pip requirements exist on host are installed.
pip:
name:
- setuptools
- virtualenv
state: present
- name: Ensure Supervisor is installed.
pip:
name: supervisor
state: present
version: "{{ supervisor_version | default(omit) }}"
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.