Fix yamllint roles error for #2188 commit

This commit is contained in:
rong.zhang 2018-03-13 14:28:49 +08:00
parent 69a3c33ceb
commit d264da8f08

View file

@ -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/"