Browse Source

Use 0755 mode for binaries

pull/35/head
Antoine Legrand 9 years ago
parent
commit
184bb8c94d
5 changed files with 8 additions and 5 deletions
  1. 5
      cluster.yml
  2. 2
      roles/etcd/tasks/install.yml
  3. 2
      roles/kubernetes/master/tasks/main.yml
  4. 2
      roles/kubernetes/node/tasks/install.yml
  5. 2
      roles/network_plugin/tasks/calico.yml

5
cluster.yml

@ -4,9 +4,12 @@
roles:
- { role: download, tags: download }
- hosts: k8s-cluster
- hosts: etcd
roles:
- { role: etcd, tags: etcd }
- hosts: k8s-cluster
roles:
- { role: docker, tags: docker }
- { role: dnsmasq, tags: dnsmasq }
- { role: network_plugin, tags: ['calico', 'flannel', 'network'] }

2
roles/etcd/tasks/install.yml

@ -7,7 +7,7 @@
src={{ local_release_dir }}/etcd/bin/{{ item }}
dest={{ bin_dir }}
owner=etcd
mode=u+x
mode=0755
with_items:
- etcdctl
- etcd

2
roles/kubernetes/master/tasks/main.yml

@ -9,7 +9,7 @@
src={{ local_release_dir }}/kubernetes/bin/kubectl
dest={{ bin_dir }}
owner=kube
mode=u+x
mode=0755
- name: populate users for basic auth in API
lineinfile:

2
roles/kubernetes/node/tasks/install.yml

@ -8,6 +8,6 @@
src={{ local_release_dir }}/kubernetes/bin/kubelet
dest={{ bin_dir }}
owner=kube
mode=u+x
mode=0755
notify:
- restart kubelet

2
roles/network_plugin/tasks/calico.yml

@ -3,7 +3,7 @@
copy:
src={{ local_release_dir }}/calico/bin/calicoctl
dest={{ bin_dir }}
mode=u+x
mode=0755
notify: restart calico-node
- name: Calico | Create calicoctl symlink (needed by kubelet)

Loading…
Cancel
Save