remove duplicate task
parent
10ade2cbdc
commit
b45261b763
|
@ -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…
Reference in New Issue