Browse Source

Leave 'live-restore' false

Leave live-restore false to updates always pick
up new network configuration
pull/1174/head
Josh Lothian 7 years ago
parent
commit
6f67367b57
1 changed files with 0 additions and 13 deletions
  1. 13
      roles/network_plugin/flannel/handlers/main.yml

13
roles/network_plugin/flannel/handlers/main.yml

@ -41,19 +41,6 @@
name: docker name: docker
state: restarted 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 - name: Flannel | pause while Docker restarts
pause: pause:
seconds: 10 seconds: 10

Loading…
Cancel
Save