ansible-role-supervisor icon indicating copy to clipboard operation
ansible-role-supervisor copied to clipboard

Unable to find any of pip3 to use. pip needs to be installed.

Open numediaweb opened this issue 3 years ago • 1 comments

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) }}"

numediaweb avatar Apr 11 '22 09:04 numediaweb

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.

stale[bot] avatar Jul 12 '22 07:07 stale[bot]

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.

stale[bot] avatar Sep 20 '22 00:09 stale[bot]