wari wari da it's so over ( im using ansible again )
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 5s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 20s

:(((
This commit is contained in:
shockrah 2025-04-23 23:25:34 -07:00
parent 55217ce50b
commit ef4967cd88
3 changed files with 29 additions and 0 deletions

View File

@ -10,3 +10,11 @@
apply: apply:
tags: tags:
- setup - setup
- name: Setup the docker based services
tags:
- services
ansible.builtin.include_role:
name: services
apply:
tags:
- services

View File

@ -0,0 +1,15 @@
- 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

View File

@ -0,0 +1,6 @@
services:
health:
image: nginx:latest
container_name: health
ports:
- "8080:80"