summaryrefslogtreecommitdiffstats
path: root/roles/flannel
diff options
context:
space:
mode:
Diffstat (limited to 'roles/flannel')
-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