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