--- - hosts: default connection: local vars: docker_services: test: version: '2' services: test: image: alpine:latest entrypoint: /bin/sleep infinity restart: always roles: - ansible-role-docker