diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-04-28 14:07:31 -0400 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-04-28 14:14:02 -0400 |
commit | 75cc97d6bf45cd14a8d0017beb88dbbadb6dcd0e (patch) | |
tree | 46fdebd13352727168837770be27fb340934cc69 /roles/openshift_master/tasks | |
parent | a83bea9a190fde22cceb6e3ef3d88a38e3eca1a4 (diff) | |
download | openshift-75cc97d6bf45cd14a8d0017beb88dbbadb6dcd0e.tar.gz openshift-75cc97d6bf45cd14a8d0017beb88dbbadb6dcd0e.tar.bz2 openshift-75cc97d6bf45cd14a8d0017beb88dbbadb6dcd0e.tar.xz openshift-75cc97d6bf45cd14a8d0017beb88dbbadb6dcd0e.zip |
Add vagrantfile and minor bugfixes
- Add Vagrantfile for configuring a basic cluster
- Add an initial readme for using vagrant
- explicitly set connection: local and sudo: false for localhost actions in
playbooks/common/openshift-node/config.yml
- Fix permissions issue with openshift config file for non-root user
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r-- | roles/openshift_master/tasks/main.yml | 11 |
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 }}" |