Skip to content

A simple role which installs basic docker daemon on CentOs 7 & Ubuntu Xenial

License

Notifications You must be signed in to change notification settings

doronshai/ansible-role-simple-docker-daemon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role Simple Docker Daemon

A simplistic docker deamon role, result is a single Docker Daemon running on Centos 7 & Xenial. This role was developed to get a docker daemon up an running in no time ... to get running, I assume more complex Dokcer senarios will be introduced in Swarm || K8s perspectives.

The role addes apt/yum official docker repositories & keys + installs the os package defaults.

Requirements

  • Internet access

Role Variables

docker_group: docker      # The gourp to add users too in order to manage containers
docker_group_members: []  # An emplty list you would most defintelly override in the playbook level

Dependencies

  • None

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - role: shellg.simple-docker-daemon
       # add the vagrant user as a docker container administrator
       docker_group_members:
        - vagrant 

License

MIT

Author Information

Haggai Philip Zagury -> Tikal Knowledge

About

A simple role which installs basic docker daemon on CentOs 7 & Ubuntu Xenial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published