infra/ansible/roles/services/tasks/main.yaml
shockrah ef4967cd88
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 5s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 20s
wari wari da it's so over ( im using ansible again )
:(((
2025-04-23 23:25:34 -07:00

15 lines
411 B
YAML

- name: Ensure docker compose directory is present
ansible.builtin.file:
path: compose
state: directory
- name: Copy in the docker-compose template
ansible.builtin.template:
src: compose.yaml
dest: compose/compose.yaml
owner: nigel
mode: "0644"
- name: Run the docker compose yaml
become: true
community.docker.docker_compose_v2:
project_src: compose
remove_orphans: true