Fixed Kubespray container-engine/docker role to populate docker.service (#6518)

This commit is contained in:
Bernard Landon 2020-08-18 09:39:30 +02:00 committed by GitHub
parent 33ec13293b
commit b0210567aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@
dest: /etc/systemd/system/docker.service dest: /etc/systemd/system/docker.service
register: docker_service_file register: docker_service_file
notify: restart docker notify: restart docker
when: not (ansible_os_family in ["CoreOS", "Coreos", "Container Linux by CoreOS", "Flatcar", "Flatcar Container Linux by Kinvolk"] or is_ostree) when: not ansible_os_family in ["CoreOS", "Coreos", "Container Linux by CoreOS", "Flatcar", "Flatcar Container Linux by Kinvolk"]
- name: Write docker options systemd drop-in - name: Write docker options systemd drop-in
template: template: