automation/deployer/roles/deploy/tasks/docker.yml
2020-05-07 08:17:17 +02:00

10 lines
No EOL
260 B
YAML

---
# 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