From 3de14efd9e550b5102d40993b1cf8a2a74be7f13 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 26 Jan 2021 21:53:52 +0000 Subject: [PATCH] Remove heimdall I've literally not used it since setting it up --- ansible/main.yml | 1 - .../roles/heimdall/files/docker-compose.yml | 18 ------------------ ansible/roles/heimdall/handlers/main.yml | 4 ---- ansible/roles/heimdall/tasks/main.yml | 17 ----------------- terraform/jakehoward.tech.tf | 8 -------- 5 files changed, 48 deletions(-) delete mode 100644 ansible/roles/heimdall/files/docker-compose.yml delete mode 100644 ansible/roles/heimdall/handlers/main.yml delete mode 100644 ansible/roles/heimdall/tasks/main.yml diff --git a/ansible/main.yml b/ansible/main.yml index c1f0529..512ebd0 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -48,7 +48,6 @@ - pve_docker - grafana - gitlab - - heimdall - gitea - duplicati - yourls diff --git a/ansible/roles/heimdall/files/docker-compose.yml b/ansible/roles/heimdall/files/docker-compose.yml deleted file mode 100644 index 0938fb9..0000000 --- a/ansible/roles/heimdall/files/docker-compose.yml +++ /dev/null @@ -1,18 +0,0 @@ -version: "2.3" - -services: - heimdall: - image: linuxserver/heimdall:latest - environment: - - PUID={{ docker_user.id }} - - PGID={{ docker_user.id }} - - TZ=Europe/London - restart: unless-stopped - volumes: - - ./config:/config - labels: - - traefik.enable=true - - traefik.http.routers.heimdall.rule=Host(`jakehoward.tech`) - - traefik.http.routers.heimdall.tls.certresolver=le - - traefik.http.services.heimdall-heimdall.loadbalancer.server.port=443 - - traefik.http.services.heimdall-heimdall.loadbalancer.server.scheme=https diff --git a/ansible/roles/heimdall/handlers/main.yml b/ansible/roles/heimdall/handlers/main.yml deleted file mode 100644 index 076d09c..0000000 --- a/ansible/roles/heimdall/handlers/main.yml +++ /dev/null @@ -1,4 +0,0 @@ -- name: restart heimdall - shell: - chdir: /opt/heimdall - cmd: "{{ docker_update_command }}" diff --git a/ansible/roles/heimdall/tasks/main.yml b/ansible/roles/heimdall/tasks/main.yml deleted file mode 100644 index 431c2ae..0000000 --- a/ansible/roles/heimdall/tasks/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -- name: Create install directory - file: - path: /opt/heimdall - state: directory - owner: "{{ docker_user.name }}" - mode: "{{ docker_compose_directory_mask }}" - become: true - -- name: Install compose file - template: - src: files/docker-compose.yml - dest: /opt/heimdall/docker-compose.yml - mode: "{{ docker_compose_file_mask }}" - owner: "{{ docker_user.name }}" - validate: /usr/bin/docker-compose -f %s config - notify: restart heimdall - become: true diff --git a/terraform/jakehoward.tech.tf b/terraform/jakehoward.tech.tf index 87f76dc..782ed0c 100644 --- a/terraform/jakehoward.tech.tf +++ b/terraform/jakehoward.tech.tf @@ -155,11 +155,3 @@ resource "cloudflare_record" "jakehowardtech_grafana" { type = "A" ttl = 1 } - -resource "cloudflare_record" "jakehowardtech_apex" { - zone_id = cloudflare_zone.jakehowardtech.id - name = "@" - value = vultr_server.casey.main_ip - type = "A" - ttl = 1 -}