summaryrefslogtreecommitdiffstats
path: root/roles/flannel/tasks
diff options
context:
space:
mode:
authorSylvain Baubeau <sbaubeau@redhat.com>2015-10-15 10:53:15 +0200
committerSylvain Baubeau <sbaubeau@redhat.com>2015-10-27 17:42:56 +0100
commitfc9392d0b6bcf80b5dafa03e5f4c2b812cb0a57c (patch)
tree3ef3a3f227932923a96b6356193516ad0ec563d8 /roles/flannel/tasks
parent4d915db61a7ebfeab72e0c649f0ea34a0281b596 (diff)
downloadopenshift-fc9392d0b6bcf80b5dafa03e5f4c2b812cb0a57c.tar.gz
openshift-fc9392d0b6bcf80b5dafa03e5f4c2b812cb0a57c.tar.bz2
openshift-fc9392d0b6bcf80b5dafa03e5f4c2b812cb0a57c.tar.xz
openshift-fc9392d0b6bcf80b5dafa03e5f4c2b812cb0a57c.zip
Only remove IPv4 address from docker bridge
Diffstat (limited to 'roles/flannel/tasks')
-rw-r--r--roles/flannel/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/flannel/tasks/main.yml b/roles/flannel/tasks/main.yml
index 8a871efb2..57e322836 100644
--- a/roles/flannel/tasks/main.yml
+++ b/roles/flannel/tasks/main.yml
@@ -38,7 +38,7 @@
- name: Remove docker bridge ip
sudo: true
- shell: ip a del `ip a show docker0 | grep inet | awk '{print $2}'` dev docker0
+ shell: ip a del `ip a show docker0 | grep "inet[[:space:]]" | awk '{print $2}'` dev docker0
notify:
- restart docker
- restart node