Need help with docker.ubuntu?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

angstwad
457 Stars 216 Forks Apache License 2.0 277 Commits 2 Opened issues

Description

Docker role for Ansible on Ubuntu 14.04+

Services available

!
?

Need anything else?

Contributors list

# 24,288
Python
Ubuntu
Ansible
C#
62 commits
# 219,233
cleanup
windows...
Ubuntu
Ansible
9 commits
# 292,877
centos7
Ubuntu
C
gsm
6 commits
# 300,232
HTML
Java
Ansible
Ubuntu
4 commits
# 402,363
Ruby
Ubuntu
Ansible
3 commits
# 22,269
Ruby
Vagrant
travis-...
kibana
3 commits
# 394,136
bitbuck...
Java
HTML
Ubuntu
3 commits
# 1,079
Python
speedte...
python-...
Ubuntu
2 commits
# 157,414
PHP
PHPUnit
Ubuntu
uuid
2 commits
# 110,859
magnet-...
bittorr...
CSS
whatsap...
2 commits
# 265,579
CSS
PHP
intelli...
android...
2 commits
# 209,510
Ubuntu
Ansible
coreaud...
Nim
2 commits
# 238,285
datadog
Ubuntu
debian-...
dyndns
2 commits
# 124,097
compose
CSS
prometh...
Ubuntu
2 commits
# 426,381
C
osm
qgis
Ubuntu
2 commits
# 170,595
HTML
playboo...
protect...
Telegra...
2 commits
# 91,585
Jenkins
python-...
pypi
Lua
2 commits
# 43,320
Ruby
ruby-on...
excel
pagespe...
2 commits
# 96,481
Java
Clojure
ryzen
deploy-...
2 commits
# 434,118
Ubuntu
Ansible
CSS
HTML
2 commits

docker_ubuntu

Installs Docker on:

  • Ubuntu 14.04+
  • Debian Jessie (8.5+) and Stretch

This role attempts to make every reasonable effort to follow Docker's official installation instructions for Ubuntu and Debian.

Example Play:

Very basic install utilizing the role defaults:

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

Overriding the default configration is done 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
  • Debian Stretch 9.0

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

Requires

ansible-playbook
to be in the path.

License

Apache v2.0

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.