Add test for Fedora CoreOS before creating Docker service file (#6940)
This commit is contained in:
parent
f6a5948f58
commit
cc5303e1c8
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@
|
||||||
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 ["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
|
- name: Write docker options systemd drop-in
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue