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

23 lines
473 B
YAML
Raw Normal View History

2018-12-22 13:55:51 +00:00
---
- hosts: default
connection: local
vars:
2019-03-17 21:43:20 +00:00
docker_networks:
- name: workgroup
subnet: 192.168.1.0/24
gateway: 192.168.1.1
2018-12-22 13:55:51 +00:00
docker_services:
test:
2019-03-17 21:43:20 +00:00
version: '2.4'
networks:
default:
external:
name: workgroup
2018-12-22 13:55:51 +00:00
services:
test:
image: alpine:latest
entrypoint: /bin/sleep infinity
restart: always
roles:
- ansible-role-docker