remove duplicate task
This commit is contained in:
parent
d6a790ec46
commit
3f8f0f550b
1 changed files with 2 additions and 11 deletions
|
@ -7,15 +7,6 @@
|
|||
command: /etc/network/if-up.d/create_cbr
|
||||
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
|
||||
service:
|
||||
name: docker
|
||||
|
@ -24,10 +15,10 @@
|
|||
tags:
|
||||
- docker
|
||||
|
||||
- meta: flush_handlers
|
||||
|
||||
#- name: login to arkena's docker registry
|
||||
# shell : >
|
||||
# docker login --username={{ dockerhub_user }}
|
||||
# --password={{ dockerhub_pass }}
|
||||
# --email={{ dockerhub_email }}
|
||||
|
||||
- meta: flush_handlers
|
||||
|
|
Loading…
Reference in a new issue