Create the directory into install the docker compose file
This commit is contained in:
parent
4ec253321b
commit
fdd237d757
|
@ -1,6 +1,9 @@
|
|||
---
|
||||
- name: Manage the composition of haproxy as a docker swarm service
|
||||
block:
|
||||
- name: Create the destination directory of the haproxy docker compose file
|
||||
file: dest={{ haproxy_docker_compose_dir }} state=directory
|
||||
|
||||
- name: Install the docker compose file
|
||||
template: src=haproxy-docker-compose.yml.j2 dest={{ haproxy_docker_compose_dir }}/docker-compose.yml
|
||||
|
||||
|
|
Loading…
Reference in New Issue