decommission 9 services: codeserver, ghost, pinchflat, pinry, mmdl, palmr, kanboard, grocy, postiz

Replace deploy tasks with teardown tasks that stop containers and remove
stack directories. Remove Caddy routes and DNS records, with explicit
Route53 deletion for the decommissioned subdomains.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Phillip Skentelbery
2026-05-05 14:04:51 -06:00
parent 99e36d9492
commit 46d8fecdfa
11 changed files with 111 additions and 219 deletions
+9 -17
View File
@@ -1,19 +1,11 @@
- name: make ghost-1 directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/ghost-1
- name: Template out the compose file
ansible.builtin.template:
src: ghost-1-compose.yml.j2
dest: /opt/stacks/ghost-1/compose.yml
owner: root
mode: 644
- name: deploy ghost-1 stack
---
- name: Stop and remove ghost stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/ghost-1
files:
- compose.yml
state: absent
ignore_errors: true
- name: Remove ghost directory
ansible.builtin.file:
path: /opt/stacks/ghost-1
state: absent
+9 -17
View File
@@ -1,19 +1,11 @@
- name: make pinchflat directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/pinchflat
- name: Template out the compose file
ansible.builtin.template:
src: pinchflat-compose.yml.j2
dest: /opt/stacks/pinchflat/compose.yml
owner: root
mode: 644
- name: deploy pinchflat stack
---
- name: Stop and remove pinchflat stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/pinchflat
files:
- compose.yml
state: absent
ignore_errors: true
- name: Remove pinchflat directory
ansible.builtin.file:
path: /opt/stacks/pinchflat
state: absent
+9 -17
View File
@@ -1,19 +1,11 @@
- name: make pinry directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/pinry
- name: Template out the compose file
ansible.builtin.template:
src: pinry-compose.yml.j2
dest: /opt/stacks/pinry/compose.yml
owner: root
mode: 644
- name: deploy pinry stack
---
- name: Stop and remove pinry stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/pinry
files:
- compose.yml
state: absent
ignore_errors: true
- name: Remove pinry directory
ansible.builtin.file:
path: /opt/stacks/pinry
state: absent