Merge pull request #909 from mattymo/docker-upgrade

Always trigger docker restart when docker package changes
This commit is contained in:
Matthew Mosesohn 2017-01-17 11:37:42 +03:00 committed by GitHub
commit 49d7d15fe7

View file

@ -65,6 +65,7 @@
retries: 4
delay: "{{ retry_stagger | random + 3 }}"
with_items: "{{ docker_package_info.pkgs }}"
notify: restart docker
when: (not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"]) and (docker_package_info.pkgs|length > 0)
- name: check minimum docker version for docker_dns mode. You need at least docker version >= 1.12 for resolvconf_mode=docker_dns