summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorWesley Hearn <wesley.s.hearn@gmail.com>2015-05-06 10:27:42 -0400
committerWesley Hearn <wesley.s.hearn@gmail.com>2015-05-06 10:27:42 -0400
commit1d8e743921a48a5abd2ca75323321f6db261101b (patch)
tree8f3370fd2d9537a568d97e48ece9e18f3d0032bb /roles/openshift_master/tasks
parent196d37e2ffa0d7f4221a857b143fd09f84a9d00b (diff)
parente0b2d98a6cac21cfa555afe4d660cb62c1180856 (diff)
downloadopenshift-1d8e743921a48a5abd2ca75323321f6db261101b.tar.gz
openshift-1d8e743921a48a5abd2ca75323321f6db261101b.tar.bz2
openshift-1d8e743921a48a5abd2ca75323321f6db261101b.tar.xz
openshift-1d8e743921a48a5abd2ca75323321f6db261101b.zip
Merge pull request #208 from openshift/master
Merge Master Into INT
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 28bdda618..f9e6199a5 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -104,3 +104,14 @@
with_items:
- root
- "{{ ansible_ssh_user }}"
+
+- name: Update the permissions on the OpenShift client config(s)
+ file:
+ path: "~{{ item }}/.config/openshift/.config"
+ state: file
+ mode: 0700
+ owner: "{{ item }}"
+ group: "{{ item }}"
+ with_items:
+ - root
+ - "{{ ansible_ssh_user }}"