Add test for Fedora CoreOS before creating Docker service file (#6940)

This commit is contained in:
Danilo Riecken P. de Morais 2020-11-30 18:20:49 +01:00 committed by GitHub
parent f6a5948f58
commit cc5303e1c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,9 @@
dest: /etc/systemd/system/docker.service
register: docker_service_file
notify: restart docker
when: not ansible_os_family in ["Flatcar Container Linux by Kinvolk"]
when:
- not ansible_os_family in ["Flatcar Container Linux by Kinvolk"]
- not is_fedora_coreos
- name: Write docker options systemd drop-in
template: