Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)