geerlingguy / ansible-role-docker

Ansible Role - Docker
https://galaxy.ansible.com/geerlingguy/docker/
MIT License
1.84k stars 856 forks source link

Make service management entirely optional #362

Closed spawnia closed 2 years ago

spawnia commented 2 years ago

The provided advice of circumventing service management did not work for me, usage still failed in WSL:

TASK [geerlingguy.docker : Ensure Docker is started and enabled at boot.] **********************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Service is in unknown state", "status": {}}

Thus, this adds the option docker_service_managed that allows skipping any service management completely.

geerlingguy commented 2 years ago

See: https://github.com/geerlingguy/ansible-role-docker/pull/340