Leave 'live-restore' false
Leave live-restore false to updates always pick up new network configurationpull/1174/head
parent
9ee0600a7f
commit
6f67367b57
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue