Coder Social home page Coder Social logo

ddamyanov / docker.ubuntu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from angstwad/docker.ubuntu

0.0 3.0 0.0 160 KB

Docker role for Ansible on Ubuntu 12.04+

Home Page: https://galaxy.ansible.com/angstwad/docker_ubuntu/

License: Apache License 2.0

docker.ubuntu's Introduction

docker_ubuntu

Installs Docker on:

  • Ubuntu 12.04+
  • Debian 8.5+

This role differs from other roles in that it specifically follows docker.io installation instructions for each distribution version.

Example Play:

---
- name: Run docker.ubuntu
  hosts: docker
  roles:
    - angstwad.docker_ubuntu

Please see this playbook as a more advanced example of how to utilize this role.

Applying the role to servers is pretty simple, as demonstrated above. Overriding the default configration is done simply by overriding the role's default variables:

- name: Install Docker
  hosts: all
  roles:
    - role: angstwad.docker_ubuntu
      ssh_port: 2222
      kernel_pkg_state: present

Requirements

Requires python-pycurl for apt modules.

Role Variables

Please see defaults/main.yml for a comprehensive list of variables that can be overridden.

Dependencies

None.

Testing

To test the role in a Vagrant environment just run vagrant up. This will create some VMs:

  • Ubuntu 12.04
  • Ubuntu 14.04
  • Ubuntu 16.04
  • Debian Jessie 8.5

and it will provision them by applying this role with Ansible.

Requires ansible-playbook to be in the path.

License

Apache v2.0

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.