Closed FQQD closed 1 year ago
Everytime I try to run "ansible-playbook main.yml" I get this error message and I'm not sure what it means:
ok: [127.0.0.1] TASK [Load configuration (with defaults from example file).] ******************************************************************************************************************* ok: [127.0.0.1] => (item=example.config.yml) ok: [127.0.0.1] => (item=config.yml) TASK [Ensure apt cache is up to date.] ***************************************************************************************************************************************** ok: [127.0.0.1] TASK [Ensure pacman cache is up to date] *************************************************************************************************************************************** skipping: [127.0.0.1] TASK [Check if Docker is already present.] ************************************************************************************************************************************* ok: [127.0.0.1] TASK [Download Docker install convenience script.] ***************************************************************************************************************************** skipping: [127.0.0.1] TASK [Run Docker install convenience script.] ********************************************************************************************************************************** skipping: [127.0.0.1] TASK [Ensure Docker is started.] *********************************************************************************************************************************************** fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Could not find the requested service docker: host"} PLAY RECAP ********************************************************************************************************************************************************************* 127.0.0.1 : ok=4 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0``` thanks for your help
I seem to have fixed it by running sudo apt install docker-compose
sudo apt install docker-compose
Everytime I try to run "ansible-playbook main.yml" I get this error message and I'm not sure what it means: