1
resposta

[Sugestão] [RESOLUÇÃO] Problemas com o Source

Para quem teve problemas como esse aqui:

fatal: [IP]: FAILED! => {"changed": true, "cmd": "source /home/ubuntu/app/venv/bin/activate; django-admin startproject setup /home/ubuntu/app", "delta": "0:00:00.003341", "end": "2023-02-10 18:49:25.820044", "msg": "non-zero return code", "rc": 127, "start": "2023-02-10 18:49:25.816703", "stderr": "/bin/sh: 1: source: not found\n/bin/sh: 1: django-admin: not found", "stderr_lines": ["/bin/sh: 1: source: not found", "/bin/sh: 1: django-admin: not found"], "stdout": "", "stdout_lines": []}

Tente usar . ao invés de source, isto é: source /home/ubuntu/app/venv/bin/activate ==> . /home/ubuntu/app/venv/bin/activate

1 resposta

Excelente sugestão!