Git Product home page Git Product logo

ansible-role-docker's Introduction

ansible-role-docker

Ansible role for adding and managing Docker Engine services.

Requirements

None known.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

# only needs to be set if running ubuntu
ubuntu_release: trusty

# disable docker bridge?
docker_disable_bridge: false

# where to place/look for DOCKER_OPTS
docker_env_file: /etc/default/docker

# the docker service unit file to modify as necessary
# given additional variables below
docker_unit_file: /lib/systemd/system/docker.service

# Which bridge to use for Docker in bridged mode
docker_bridge_device: docker0

# Additional options to add to the docker deamon
docker_opts: ""

# used to disable actions that might fail when
# running tests under docker.
docker_running_under_docker: false

# if flannel is running, read in theat environment.
flannel_env_file: /var/run/flannel/subnet.env

# This is commented for doc purposes only. If defined
# docker_opts (see above) will get added to the docker
# daemon command line at start. For example:
#   --dns 8.8.8.8 --dns 8.8.4.4
#docker_opts: daemon

# docker user/group ids (gets created) for socket access
# and similar
docker_user: docker
docker_gid: 995

Example playbook

---
- hosts: dockers
  sudo: True
  roles:
    - docker
  vars:
    docker_opts: "--dns 8.8.8.8 --dns 8.8.4.4"

License and Copyright

Copyright 2015 VMware, Inc. All rights reserved.

SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-only

This code is Dual Licensed Apache-2.0 or GPLv3

Author Information

This role was created in 2015 by Tom Hite / VMware.

ansible-role-docker's People

Contributors

tdhite avatar tompscanlan avatar warthog9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.