initial commit

This commit is contained in:
2015-09-05 20:25:49 -04:00
commit 2fb838dd9a
7 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
---
# main tasks to install docker
- name: install packages
apt: state=present package={{ item }}
with_items:
- "wget"
- name: run docker install script
command: "wget -qO- https://get.docker.com/ | sh"
args:
creates: /usr/bin/docker
- name: create docker group
group: state=present name=docker gid=999 system=yes
- name: add users to docker group
user: name={{ item }} groups=docker append=yes
with_items:
- richard