Fix not creating the appropriate docker network ahead of time
This commit is contained in:
parent
2944fc79b7
commit
243e1b079f
@ -9,6 +9,10 @@
|
|||||||
state: started
|
state: started
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
pull: yes
|
pull: yes
|
||||||
|
pre_tasks:
|
||||||
|
- name: ensure docker network
|
||||||
|
docker_network: name=web
|
||||||
|
tags: [ docker ]
|
||||||
tasks:
|
tasks:
|
||||||
- name: include tasks for applications
|
- name: include tasks for applications
|
||||||
include_tasks: tasks/{{ item }}
|
include_tasks: tasks/{{ item }}
|
||||||
|
Loading…
Reference in New Issue
Block a user