Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

suzuki-shunsuke/ansible-docker-ce-centos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-docker-ce-centos

GitHub last commit GitHub tag 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

- 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

About

ansible role to install Docker CE on CentOS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages