From 5994dee9a8b3b1ee97f9e3b3529fd32ffb896187 Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Tue, 16 Sep 2014 13:15:48 -0400 Subject: Initial Commit. Sharing is caring --- roles/docker/tasks/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 roles/docker/tasks/main.yml (limited to 'roles/docker/tasks') diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml new file mode 100644 index 000000000..2223bb675 --- /dev/null +++ b/roles/docker/tasks/main.yml @@ -0,0 +1,18 @@ +--- +# tasks file for docker +- name: Install docker + yum: pkg=docker + +- name: enable docker service + command: /usr/bin/systemctl enable docker.service + +- name: start the docker service + command: /usr/bin/systemctl start docker.service + +- copy: src=enter-container.sh dest=/usr/local/bin/enter-container.sh mode=0755 + +# From the origin rpm there exists instructions on how to +# setup origin properly. The following steps come from there +- name: Change root to be in the Docker group + command: usermod -G docker -a root + -- cgit v1.2.3