Browse Source
Add test for Fedora CoreOS before creating Docker service file (#6940)
pull/6969/head
Danilo Riecken P. de Morais
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
roles/container-engine/docker/tasks/systemd.yml
|
|
@ -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: |
|
|
|