data.coop-ansible/roles/docker/tasks/services/drone.yml

13 lines
307 B
YAML

# vim: ft=yaml.ansible
---
- name: Upload Compose file for Drone
template:
src: compose-files/drone.yml.j2
dest: "{{ services.drone.volume_folder }}/docker-compose.yml"
- name: Deploy Drone
docker_compose:
project_src: "{{ services.drone.volume_folder }}"
pull: true
state: present