Skip to content
Snippets Groups Projects
Commit 3f8f0f55 authored by Smaine Kahlouch's avatar Smaine Kahlouch
Browse files

remove duplicate task

parent d6a790ec
No related branches found
No related tags found
No related merge requests found
...@@ -7,15 +7,6 @@ ...@@ -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
...@@ -24,10 +15,10 @@ ...@@ -24,10 +15,10 @@
tags: tags:
- docker - docker
- meta: flush_handlers
#- name: login to arkena's docker registry #- name: login to arkena's docker registry
# shell : > # shell : >
# docker login --username={{ dockerhub_user }} # docker login --username={{ dockerhub_user }}
# --password={{ dockerhub_pass }} # --password={{ dockerhub_pass }}
# --email={{ dockerhub_email }} # --email={{ dockerhub_email }}
- meta: flush_handlers
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment