Use 0755 mode for binaries
parent
a003d91576
commit
184bb8c94d
|
@ -4,9 +4,12 @@
|
||||||
roles:
|
roles:
|
||||||
- { role: download, tags: download }
|
- { role: download, tags: download }
|
||||||
|
|
||||||
- hosts: k8s-cluster
|
- hosts: etcd
|
||||||
roles:
|
roles:
|
||||||
- { role: etcd, tags: etcd }
|
- { role: etcd, tags: etcd }
|
||||||
|
|
||||||
|
- hosts: k8s-cluster
|
||||||
|
roles:
|
||||||
- { role: docker, tags: docker }
|
- { role: docker, tags: docker }
|
||||||
- { role: dnsmasq, tags: dnsmasq }
|
- { role: dnsmasq, tags: dnsmasq }
|
||||||
- { role: network_plugin, tags: ['calico', 'flannel', 'network'] }
|
- { role: network_plugin, tags: ['calico', 'flannel', 'network'] }
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
src={{ local_release_dir }}/etcd/bin/{{ item }}
|
src={{ local_release_dir }}/etcd/bin/{{ item }}
|
||||||
dest={{ bin_dir }}
|
dest={{ bin_dir }}
|
||||||
owner=etcd
|
owner=etcd
|
||||||
mode=u+x
|
mode=0755
|
||||||
with_items:
|
with_items:
|
||||||
- etcdctl
|
- etcdctl
|
||||||
- etcd
|
- etcd
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
src={{ local_release_dir }}/kubernetes/bin/kubectl
|
src={{ local_release_dir }}/kubernetes/bin/kubectl
|
||||||
dest={{ bin_dir }}
|
dest={{ bin_dir }}
|
||||||
owner=kube
|
owner=kube
|
||||||
mode=u+x
|
mode=0755
|
||||||
|
|
||||||
- name: populate users for basic auth in API
|
- name: populate users for basic auth in API
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
src={{ local_release_dir }}/kubernetes/bin/kubelet
|
src={{ local_release_dir }}/kubernetes/bin/kubelet
|
||||||
dest={{ bin_dir }}
|
dest={{ bin_dir }}
|
||||||
owner=kube
|
owner=kube
|
||||||
mode=u+x
|
mode=0755
|
||||||
notify:
|
notify:
|
||||||
- restart kubelet
|
- restart kubelet
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
copy:
|
copy:
|
||||||
src={{ local_release_dir }}/calico/bin/calicoctl
|
src={{ local_release_dir }}/calico/bin/calicoctl
|
||||||
dest={{ bin_dir }}
|
dest={{ bin_dir }}
|
||||||
mode=u+x
|
mode=0755
|
||||||
notify: restart calico-node
|
notify: restart calico-node
|
||||||
|
|
||||||
- name: Calico | Create calicoctl symlink (needed by kubelet)
|
- name: Calico | Create calicoctl symlink (needed by kubelet)
|
||||||
|
|
Loading…
Reference in New Issue