summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-docker/tasks/docker-socket-override.yml
blob: 0cabadf4c2f6e83fa2b1ec1c7015b4f9c491ca97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- name: Create docker.socket systemd dir for override
  file:
    path: /etc/systemd/system/docker.socket.d
    state: directory

- name: Fake dockerd dependent docker.socket service not to actually listen the docker socket as dockerd is not used in container only docker client
  copy:
    content: |
      [Socket]
      ListenStream=
      ListenStream=/tmp/fake
    dest: /etc/systemd/system/docker.socket.d/override.conf