Merge pull request #2460 from riverzhang/fix-weave
Fix yamllint roles error for #2188 commit
This commit is contained in:
commit
7904b454ba
1 changed files with 3 additions and 4 deletions
|
@ -2,12 +2,11 @@
|
||||||
- import_tasks: seed.yml
|
- import_tasks: seed.yml
|
||||||
when: weave_mode_seed
|
when: weave_mode_seed
|
||||||
|
|
||||||
|
|
||||||
- name: template weavenet conflist
|
- name: template weavenet conflist
|
||||||
template:
|
template:
|
||||||
src: weavenet.conflist.j2
|
src: weavenet.conflist.j2
|
||||||
dest: /etc/cni/net.d/00-weave.conflist
|
dest: /etc/cni/net.d/00-weave.conflist
|
||||||
owner: kube
|
owner: kube
|
||||||
|
|
||||||
- name: Weave | Copy cni plugins from hyperkube
|
- name: Weave | Copy cni plugins from hyperkube
|
||||||
command: "{{ docker_bin_dir }}/docker run --rm -v /opt/cni/bin:/cnibindir {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }} /bin/cp -r /opt/cni/bin/. /cnibindir/"
|
command: "{{ docker_bin_dir }}/docker run --rm -v /opt/cni/bin:/cnibindir {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }} /bin/cp -r /opt/cni/bin/. /cnibindir/"
|
||||||
|
|
Loading…
Reference in a new issue