Removing services role as it's being replaced by terraform
This commit is contained in:
parent
fcf7ded218
commit
2bbc9095f7
@ -10,12 +10,3 @@
|
|||||||
apply:
|
apply:
|
||||||
tags:
|
tags:
|
||||||
- setup
|
- setup
|
||||||
- name: Setup Docker services on nigel
|
|
||||||
tags:
|
|
||||||
- services
|
|
||||||
ansible.builtin.include_role:
|
|
||||||
name: services
|
|
||||||
apply:
|
|
||||||
become: true
|
|
||||||
tags:
|
|
||||||
- services
|
|
||||||
|
@ -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
|
|
@ -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"
|
|
@ -1,4 +0,0 @@
|
|||||||
services:
|
|
||||||
compose_dir: /home/nigel/compose
|
|
||||||
health:
|
|
||||||
port: 8080
|
|
Loading…
Reference in New Issue
Block a user