Merge pull request #576 from sgm-media/master

Reload docker.socket after installing flannel on coreos
This commit is contained in:
Smaine Kahlouch 2016-11-02 09:03:09 +01:00 committed by GitHub
commit ebeb57ee7c

View file

@ -3,6 +3,7 @@
command: /bin/true
notify:
- Docker | reload systemd
- Docker | reload docker.socket
- Docker | reload docker
- 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"