Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose: not found when install via ansible #94

Open
OleksandrChekmez opened this issue Mar 4, 2022 · 3 comments
Open

docker-compose: not found when install via ansible #94

OleksandrChekmez opened this issue Mar 4, 2022 · 3 comments

Comments

@OleksandrChekmez
Copy link

I run command ansible-playbook -u azureuser deploy.yaml -i hosts

Please note that I changed root to azureuser

TASK [uashield : Stop all containers] *******************************************************************************************************
fatal: [**********]: FAILED! => {"changed": true, "cmd": "docker-compose down", "delta": "0:00:00.002971", "end": "2022-03-04 10:24:01.968900", "msg": "non-zero return code", "rc": 127, "start": "2022-03-04 10:24:01.965929", "stderr": "/bin/sh: 1: docker-compose: not found", "stderr_lines": ["/bin/sh: 1: docker-compose: not found"], "stdout": "", "stdout_lines": []}

@denysbutenko
Copy link
Contributor

denysbutenko commented Mar 4, 2022

Please try to update to the latest version, it should be fixed by this PR#93

@OleksandrChekmez
Copy link
Author

tried again on new VM using latest scripts from git, same problem:

FAILED! => {"changed": true, "cmd": "docker-compose down", "delta": "0:00:00.002390", "end": "2022-03-04 14:13:49.246823", "msg": "non-zero return code", "rc": 127, "start": "2022-03-04 14:13:49.244433", "stderr": "/bin/sh: 1: docker-compose: not found", "stderr_lines": ["/bin/sh: 1: docker-compose: not found"], "stdout": "", "stdout_lines": []}

I checked deploy.yml, commit c672e87 not merged to master

@dmpanch
Copy link
Contributor

dmpanch commented Mar 10, 2022

Fixed in #160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants