Browse Source

Fix permissions on .kube folder

- missing leading 0 on mode
Jason DeTiberus 10 years ago
parent
commit
3a5b0516d8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      roles/openshift_master/tasks/main.yml
  2. 1 1
      roles/openshift_node/tasks/main.yml

+ 1 - 1
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:

+ 1 - 1
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: