--- - name: Setup the intragate machine hosts: instance-authentik tasks: - name: create docker.sock raw: touch /var/run/docker.sock become: true changed_when: false - name: move docker.sock from tmp raw: mount --move /tmp/docker.sock /var/run/docker.sock become: true changed_when: false