geerlingguy / ansible-role-docker

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

Playbook Fails with error when uninstalling #438

Closed vijayjar closed 2 months ago

vijayjar commented 8 months ago

Adding the Role in the playbook with following code

This fails with error

TASK [geerlingguy.docker : Ensure Docker is started and enabled at boot.] ** [WARNING]: The service (docker) is actually an init script but the system is managed by systemd fatal: [rpi5]: FAILED! => {"changed": false, "msg": "Unable to start service docker: Failed to start docker.service: Unit docker.service not found.\n"}

This check should be skipped if the state is absent.

github-actions[bot] commented 4 months ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] commented 2 months ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.