I am trying to upgrade using the ansible playbook from 18.0 to the latest.
I issue ‘git pull’ and ‘ansible-playbook -i inventory/hosts lemmy.yml --become --ask-pass --ask-become-pass’. This worked the first time I upgraded to 18.0, but now I get:
TASK [Install Docker Module and docker-compose for Python] ****************************************************** fatal: [root@lemmy.mitchday.com]: FAILED! => {“changed”: false, “cmd”: [“/usr/bin/python3”, “-m”, “pip.main”, “install”, “-U”, “docker”, “docker-compose”], “msg”: "\n:stderr: error: externally-managed-environment\n\n× This environment is externally managed\n╰─> To install Python packages system-wide, try apt install\n …
Is there something obvious I’m missing? Much appreciated. Mostly confused what has changed since my own system config has not since the last successful upgrade and the changelog doesn’t indicate any needed config changes.