{"id":15470669,"url":"https://github.com/mborne/ansible-docker-ce","last_synced_at":"2026-01-03T12:40:29.404Z","repository":{"id":41471824,"uuid":"431833809","full_name":"mborne/ansible-docker-ce","owner":"mborne","description":"[DEV] Ansible playbook to deploy and configure docker-ce","archived":false,"fork":false,"pushed_at":"2024-07-15T13:54:02.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T16:40:42.482Z","etag":null,"topics":["ansible","docker","setup"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mborne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-25T12:16:22.000Z","updated_at":"2024-07-15T13:37:29.000Z","dependencies_parsed_at":"2024-07-15T15:58:54.994Z","dependency_job_id":null,"html_url":"https://github.com/mborne/ansible-docker-ce","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mborne%2Fansible-docker-ce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mborne%2Fansible-docker-ce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mborne%2Fansible-docker-ce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mborne%2Fansible-docker-ce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mborne","download_url":"https://codeload.github.com/mborne/ansible-docker-ce/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243965723,"owners_count":20375920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","docker","setup"],"created_at":"2024-10-02T02:06:10.821Z","updated_at":"2026-01-03T12:40:29.363Z","avatar_url":"https://github.com/mborne.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-docker-ce\n\n[![CI](https://github.com/mborne/ansible-docker-ce/actions/workflows/ci.yml/badge.svg)](https://github.com/mborne/ansible-docker-ce/actions/workflows/ci.yml)\n\n## Role Summary\n\nThis ansible playbook allows to setup and configure docker-ce. It aims at providing a decent setup for a dev environment :\n\n* Most daemon options are defaulted to fit [docker-bench-for-security](https://github.com/docker/docker-bench-security#docker-bench-for-security) recommendations (see [doc/dbs-uncovered.md](doc/dbs-uncovered.md) for exceptions)\n* Log rotate is configured to avoid disk full\n\n## Role Variables\n\nSee [defaults/main.yml](defaults/main.yml) to get the list of variables.\n\n## Example Playbooks\n\nSample `requirements.yml` :\n\n```\n- name: mborne.docker_ce\n  src: git+https://github.com/mborne/ansible-docker-ce.git\n  version: master\n```\n\nSample basic playbook :\n\n```yaml\n---\n- name: Install docker\n  hosts: all\n  become: yes\n  become_method: sudo\n  roles:\n    - mborne.docker_ce\n```\n\nSample basic playbook with [userns-remap](https://docs.docker.com/engine/security/userns-remap/) and custom storage location :\n\n```yaml\n---\n- name: Install docker\n  hosts: all\n  become: yes\n  become_method: sudo\n  roles:\n    - mborne.docker_ce\n  vars:\n    docker_data_root: '/mnt/storage/docker'\n    docker_userns_remap: 'default'\n```\n\n## Troubleshooting\n\nFor rasbperries, `aufs-dkms` should be removed to avoid problems :\n\n```bash\nsudo apt-get purge aufs-dkms\n```\n\n## See also\n\n* [geerlingguy.docker](https://galaxy.ansible.com/geerlingguy/docker)\n\n## License\n\n[MIT](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmborne%2Fansible-docker-ce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmborne%2Fansible-docker-ce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmborne%2Fansible-docker-ce/lists"}