infrastructure/playbooks/roles/healthcheck/tasks/docker.yml

17 lines
450 B
YAML
Raw Normal View History

2024-09-26 22:02:36 +00:00
---
- name: Template the docker-compose file
ansible.builtin.template:
src: docker-compose.yml.j2
2024-09-26 22:02:36 +00:00
dest: "{{ (service_path, 'docker-compose.yml') | path_join }}"
mode: "0644"
- name: Copy the Dockerfile
ansible.builtin.copy:
src: Dockerfile
dest: "{{ (service_path, 'Dockerfile') | path_join }}"
mode: "0644"
- name: Copy the data files
ansible.builtin.copy:
src: data
dest: "{{ service_path }}"
mode: "0755"