Browse Source

remove duplicate task

pull/13/head
Smaine Kahlouch 9 years ago
parent
commit
b45261b763
1 changed files with 0 additions and 9 deletions
  1. 9
      roles/docker/tasks/configure.yml

9
roles/docker/tasks/configure.yml

@ -7,15 +7,6 @@
command: /etc/network/if-up.d/create_cbr command: /etc/network/if-up.d/create_cbr
when: kube_network_plugin is defined and kube_network_plugin == "calico" when: kube_network_plugin is defined and kube_network_plugin == "calico"
- name: Configure docker to use cbr0 bridge
lineinfile:
dest=/etc/default/docker
regexp='.*DOCKER_OPTS=.*'
line='DOCKER_OPTS="--bridge=cbr0 --iptables=false --ip-masq=false"'
notify:
- restart docker
when: kube_network_plugin is defined and kube_network_plugin == "calico"
- name: enable docker - name: enable docker
service: service:
name: docker name: docker

Loading…
Cancel
Save