ansible/roles/docker/tasks/services/drone.yml

18 lines
419 B
YAML
Raw Normal View History

# vim: ft=yaml.ansible
2019-03-02 21:34:33 +00:00
---
2023-09-30 16:15:27 +00:00
- name: Create Drone volume folder
file:
path: "{{ services.drone.volume_folder }}"
state: directory
- name: Upload Compose file for Drone
template:
src: compose-files/drone.yml.j2
dest: "{{ services.drone.volume_folder }}/docker-compose.yml"
2020-03-01 12:47:09 +00:00
- name: Deploy Drone
docker_compose:
project_src: "{{ services.drone.volume_folder }}"
pull: true
state: present