Removing services role as it's being replaced by terraform
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 3s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 16s

This commit is contained in:
shockrah 2025-04-23 22:14:50 -07:00
parent fcf7ded218
commit 2bbc9095f7
4 changed files with 0 additions and 44 deletions

View File

@ -10,12 +10,3 @@
apply:
tags:
- setup
- name: Setup Docker services on nigel
tags:
- services
ansible.builtin.include_role:
name: services
apply:
become: true
tags:
- services

View File

@ -1,12 +0,0 @@
- name: Remove the docker containers and images
become: true
ansible.builtin.command:
cmd: docker compose down
args:
chdir: "{{ services.compose_dir }}"
register: down
changed_when: down.rc == 0
- name: Ensure docker dir is removed
ansible.builtin.file:
path: "{{ services.compose_dir }}"
state: absent

View File

@ -1,19 +0,0 @@
services:
health:
container_name: health
image: nginx:latest
restart: always
ports:
- "{{ health_port }}:80"
minio:
container_name: minio
image: quay.io/minio/minio
command: server /data --console-address ":9001"
volumes:
- "/opt/minio/data:/data"
environment:
MINIO_ROOT_USER: admin
MINIO_ROOT_PASSWORD: admin123
ports:
- "9000:9000"
- "9001:9001"

View File

@ -1,4 +0,0 @@
services:
compose_dir: /home/nigel/compose
health:
port: 8080