From 7ae917edd9ce982a82f26a08f15d5ca68af063d3 Mon Sep 17 00:00:00 2001 From: Josh Lothian Date: Wed, 5 Apr 2017 15:41:46 -0500 Subject: [PATCH] Leave 'live-restore' false Leave live-restore false to updates always pick up new network configuration --- roles/network_plugin/flannel/handlers/main.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/roles/network_plugin/flannel/handlers/main.yml b/roles/network_plugin/flannel/handlers/main.yml index 412563394..8fbb6a1fd 100644 --- a/roles/network_plugin/flannel/handlers/main.yml +++ b/roles/network_plugin/flannel/handlers/main.yml @@ -41,19 +41,6 @@ name: docker state: restarted -- name: Flannel | configure docker live-restore false (atomic) - replace: - name: /etc/docker/daemon.json - regexp: '"live-restore": false' - replace: '"live-restore": true' - when: is_atomic - -- name: Flannel | reload docker (atomic) - service: - name: docker - state: restarted - when: is_atomic - - name: Flannel | pause while Docker restarts pause: seconds: 10