ansible-role-swarm/test/integration/default/default.yml

22 lines
473 B
YAML

---
- hosts: default
connection: local
vars:
docker_networks:
- name: workgroup
subnet: 192.168.1.0/24
gateway: 192.168.1.1
docker_services:
test:
version: '2.4'
networks:
default:
external:
name: workgroup
services:
test:
image: alpine:latest
entrypoint: /bin/sleep infinity
restart: always
roles:
- ansible-role-docker