diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-03-22 22:11:22 -0400 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2015-03-24 11:26:30 -0700 |
commit | 8f35aff7245246de4116fcf3c81e7f095cf1be3a (patch) | |
tree | 93e01df486d75d9d2d7fd072d830fbb36218bff4 /roles/os_env_extras_node/tasks/main.yml | |
parent | 14b19e665b118349327a5c8c219cc49c96ae1d52 (diff) | |
download | openshift-8f35aff7245246de4116fcf3c81e7f095cf1be3a.tar.gz openshift-8f35aff7245246de4116fcf3c81e7f095cf1be3a.tar.bz2 openshift-8f35aff7245246de4116fcf3c81e7f095cf1be3a.tar.xz openshift-8f35aff7245246de4116fcf3c81e7f095cf1be3a.zip |
Add new role os_env_extras_node that is a subset of the docker role
- Does not install or start docker, since the openshift-node role will handle
that for us
- Only add root to the dockerroot group and configures the enter-container
script.
Diffstat (limited to 'roles/os_env_extras_node/tasks/main.yml')
-rw-r--r-- | roles/os_env_extras_node/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/os_env_extras_node/tasks/main.yml b/roles/os_env_extras_node/tasks/main.yml new file mode 100644 index 000000000..065f71f74 --- /dev/null +++ b/roles/os_env_extras_node/tasks/main.yml @@ -0,0 +1,7 @@ +--- +- 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 + user: name=root groups=dockerroot append=yes |