Reload docker.socket after installing flannel on coreos

Workaround for #569
This commit is contained in:
Jan Jungnickel 2016-10-31 10:15:10 +01:00 committed by Pablo Moreno
parent ca224e7f2d
commit b1e81422a3

View file

@ -4,6 +4,7 @@
notify:
- Docker | reload systemd
- Docker | reload docker
- Docker | reload docker.socket
- Docker | pause while Docker restarts
- Docker | wait for docker
@ -16,6 +17,12 @@
name: docker
state: restarted
- name: Docker | reload docker.socket
service:
name: docker.socket
state: restarted
when: ansible_os_family == 'CoreOS'
- name: Docker | pause while Docker restarts
pause: seconds=10 prompt="Waiting for docker restart"