Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suzuki-shunsuke/ansible-docker-ce-centos
ansible role to install Docker CE on CentOS
https://github.com/suzuki-shunsuke/ansible-docker-ce-centos
ansible ansible-role centos docker oss
Last synced: 4 days ago
JSON representation
ansible role to install Docker CE on CentOS
- Host: GitHub
- URL: https://github.com/suzuki-shunsuke/ansible-docker-ce-centos
- Owner: suzuki-shunsuke
- License: mit
- Archived: true
- Created: 2017-04-09T00:55:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-19T05:45:45.000Z (11 months ago)
- Last Synced: 2024-10-24T04:51:58.924Z (3 months ago)
- Topics: ansible, ansible-role, centos, docker, oss
- Language: Ruby
- Homepage: https://galaxy.ansible.com/suzuki-shunsuke/docker_ce_centos/
- Size: 32.2 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-docker-ce-centos
[![GitHub last commit](https://img.shields.io/github/last-commit/suzuki-shunsuke/ansible-docker-ce-centos.svg)](https://github.com/suzuki-shunsuke/ansible-docker-ce-centos)
[![GitHub tag](https://img.shields.io/github/tag/suzuki-shunsuke/ansible-docker-ce-centos.svg)](https://github.com/suzuki-shunsuke/ansible-docker-ce-centos/releases)
[![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/suzuki-shunsuke/ansible-docker-ce-centos/master/LICENSE)ansible role to install Docker CE on CentOS
https://galaxy.ansible.com/suzuki-shunsuke/docker_ce_centos/
## Note
**Unfortunately, the role name has changed from `docker-ce-centos` to `docker_ce_centos`!**
**This is breaking change of Ansible Galaxy.**## Requirements
ansible >= 2.6
## Role Variables
name | required | default | example | description
--- | --- | --- | --- | ---
docker_centos_version | no | latest | | docker version
docker_centos_state | no | undefined (do nothing) | "started" or "stopped" or "restarted" or "reloaded" | docker daemon state
docker_centos_enabled | no | undefined(do nothing) | | whether docker daemon is enabled
docker_centos_users | no | [] | ["vagrant"] | users added to docker group
docker_centos_daemon_config | no | undefined(do nothing) | | docker daemon configuration /etc/docker/daemon.json## Dependencies
Nothing.
## Example Playbook
```yaml
- hosts: servers
roles:
- role: suzuki-shunsuke.docker_ce_centos
docker_centos_state: started
docker_centos_enabled: true
docker_centos_users:
- vagrant
become: true
```## License
[MIT](LICENSE)