Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angstwad/docker.ubuntu
Docker role for Ansible on Ubuntu 14.04+
https://github.com/angstwad/docker.ubuntu
ansible docker ubuntu
Last synced: 3 months ago
JSON representation
Docker role for Ansible on Ubuntu 14.04+
- Host: GitHub
- URL: https://github.com/angstwad/docker.ubuntu
- Owner: angstwad
- License: apache-2.0
- Created: 2014-01-28T03:08:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-10-12T17:01:20.000Z (over 2 years ago)
- Last Synced: 2024-01-21T02:47:17.117Z (5 months ago)
- Topics: ansible, docker, ubuntu
- Homepage: https://galaxy.ansible.com/angstwad/docker_ubuntu/
- Size: 194 KB
- Stars: 455
- Watchers: 26
- Forks: 211
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Lists
- my-awesome-stars - angstwad/docker.ubuntu - Docker role for Ansible on Ubuntu 14.04+ (Others)
- awesome-list-ansible - docker.ubuntu
README
docker_ubuntu
========Installs Docker on:
* Ubuntu 14.04+
* Debian Jessie (8.5+) and StretchThis 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](https://github.com/angstwad/docker.ubuntu/blob/master/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.0and it will provision them by applying this role with Ansible.
Requires `ansible-playbook` to be in the path.
License
-------Apache v2.0