automation/deployer/roles/deploy/tasks/docker.yml

10 lines
260 B
YAML
Raw Normal View History

2020-05-07 06:17:17 +00:00
---
# Needs variables:
# - site: dict describing the site install (cf group_vars/all/vars.yml)
- name: "Launch the site's containers"
docker_compose:
project_src: "{{ sites_path }}/{{ site.slug }}"
state: present
build: yes
restarted: yes