summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-03-09 09:56:06 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-03-09 10:43:38 -0400
commit3a5b0516d86fcebb3f6f046e35d9d185b7a5d570 (patch)
treea1737c297e395a7e6a9d0e176a9dd606577d0ed2
parentf8df2a785f791151e11f8274711c5d4405e550eb (diff)
downloadopenshift-3a5b0516d86fcebb3f6f046e35d9d185b7a5d570.tar.gz
openshift-3a5b0516d86fcebb3f6f046e35d9d185b7a5d570.tar.bz2
openshift-3a5b0516d86fcebb3f6f046e35d9d185b7a5d570.tar.xz
openshift-3a5b0516d86fcebb3f6f046e35d9d185b7a5d570.zip
Fix permissions on .kube folder
- missing leading 0 on mode
-rw-r--r--roles/openshift_master/tasks/main.yml2
-rw-r--r--roles/openshift_node/tasks/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index a96184d70..1921b29cf 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -56,7 +56,7 @@
file:
path: /root/.kube
state: directory
- mode: 700
+ mode: 0700
- name: Configure root user kubeconfig
command: cp /var/lib/openshift/openshift.local.certificates/admin/.kubeconfig /root/.kube/.kubeconfig
args:
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index f52827b8e..df2722a94 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -66,7 +66,7 @@
file:
path: /root/.kube
state: directory
- mode: 700
+ mode: 0700
- name: Configure root user kubeconfig
command: cp /var/lib/openshift/openshift.local.certificates/admin/.kubeconfig /root/.kube/.kubeconfig
args: