From 86708542c9843b6906dd673c4407d84b46d2d9ae Mon Sep 17 00:00:00 2001 From: Ryan Blundon Date: Wed, 25 Feb 2026 20:46:33 -0600 Subject: [PATCH] refactor: move Ansible roles to standard ansible/roles/ location --- .gitignore | 2 +- ansible/{playbooks => }/roles/common/files/unbound.conf | 0 ansible/{playbooks => }/roles/dns-manager/defaults/main.yml | 0 ansible/{playbooks => }/roles/dns-manager/tasks/main.yml | 0 ansible/{playbooks => }/roles/haproxy/README.md | 0 ansible/{playbooks => }/roles/haproxy/defaults/main.yml | 0 ansible/{playbooks => }/roles/haproxy/handlers/main.yml | 0 .../{playbooks => }/roles/haproxy/tasks/certbot-cloudflare.yml | 0 ansible/{playbooks => }/roles/haproxy/tasks/certificates.yml | 0 ansible/{playbooks => }/roles/haproxy/tasks/configure.yml | 0 ansible/{playbooks => }/roles/haproxy/tasks/install.yml | 0 ansible/{playbooks => }/roles/haproxy/tasks/main.yml | 0 ansible/{playbooks => }/roles/haproxy/tasks/validate.yml | 0 .../roles/haproxy/templates/certbot-post-hook.sh.j2 | 0 .../roles/haproxy/templates/cloudflare-credentials.ini.j2 | 0 ansible/{playbooks => }/roles/haproxy/templates/haproxy.cfg.j2 | 0 ansible/{playbooks => }/roles/haproxy/templates/logrotate.j2 | 0 ansible/{playbooks => }/roles/n8n/tasks/main.yml | 0 ansible/{playbooks => }/roles/n8n/templates/n8n.service.j2 | 0 ansible/{playbooks => }/roles/no-swap/tasks/main.yml | 0 ansible/{playbooks => }/roles/ntp-server/tasks/main.yml | 0 ansible/{playbooks => }/roles/observer/defaults/main.yml | 0 .../observer/files/grafana/provisioning/dashboards/all.yml | 0 .../files/grafana/provisioning/dashboards/main/cadvisor.json | 0 .../grafana/provisioning/dashboards/main/node-exporter.json | 0 .../observer/files/grafana/provisioning/datasources/all.yml | 0 .../roles/observer/files/prometheus_alerts_rules.yml | 0 .../{playbooks => }/roles/observer/files/prometheus_main.yml | 0 ansible/{playbooks => }/roles/observer/tasks/main.yml | 0 .../roles/observer/templates/alertmanager/alertmanager.j2 | 0 ansible/{playbooks => }/roles/target/defaults/main.yml | 0 ansible/{playbooks => }/roles/target/tasks/main.yml | 0 ansible/{playbooks => }/roles/time-sync/README.md | 0 ansible/{playbooks => }/roles/time-sync/defaults/main.yml | 0 ansible/{playbooks => }/roles/time-sync/handlers/main.yml | 0 ansible/{playbooks => }/roles/time-sync/meta/main.yml | 0 ansible/{playbooks => }/roles/time-sync/tasks/main.yml | 0 ansible/{playbooks => }/roles/time-sync/tests/inventory | 0 ansible/{playbooks => }/roles/time-sync/tests/test.yml | 0 ansible/{playbooks => }/roles/time-sync/vars/main.yml | 0 40 files changed, 1 insertion(+), 1 deletion(-) rename ansible/{playbooks => }/roles/common/files/unbound.conf (100%) rename ansible/{playbooks => }/roles/dns-manager/defaults/main.yml (100%) rename ansible/{playbooks => }/roles/dns-manager/tasks/main.yml (100%) rename ansible/{playbooks => }/roles/haproxy/README.md (100%) rename ansible/{playbooks => }/roles/haproxy/defaults/main.yml (100%) rename ansible/{playbooks => }/roles/haproxy/handlers/main.yml (100%) rename ansible/{playbooks => }/roles/haproxy/tasks/certbot-cloudflare.yml (100%) rename ansible/{playbooks => }/roles/haproxy/tasks/certificates.yml (100%) rename ansible/{playbooks => }/roles/haproxy/tasks/configure.yml (100%) rename ansible/{playbooks => }/roles/haproxy/tasks/install.yml (100%) rename ansible/{playbooks => }/roles/haproxy/tasks/main.yml (100%) rename ansible/{playbooks => }/roles/haproxy/tasks/validate.yml (100%) rename ansible/{playbooks => }/roles/haproxy/templates/certbot-post-hook.sh.j2 (100%) rename ansible/{playbooks => }/roles/haproxy/templates/cloudflare-credentials.ini.j2 (100%) rename ansible/{playbooks => }/roles/haproxy/templates/haproxy.cfg.j2 (100%) rename ansible/{playbooks => }/roles/haproxy/templates/logrotate.j2 (100%) rename ansible/{playbooks => }/roles/n8n/tasks/main.yml (100%) rename ansible/{playbooks => }/roles/n8n/templates/n8n.service.j2 (100%) rename ansible/{playbooks => }/roles/no-swap/tasks/main.yml (100%) rename ansible/{playbooks => }/roles/ntp-server/tasks/main.yml (100%) rename ansible/{playbooks => }/roles/observer/defaults/main.yml (100%) rename ansible/{playbooks => }/roles/observer/files/grafana/provisioning/dashboards/all.yml (100%) rename ansible/{playbooks => }/roles/observer/files/grafana/provisioning/dashboards/main/cadvisor.json (100%) rename ansible/{playbooks => }/roles/observer/files/grafana/provisioning/dashboards/main/node-exporter.json (100%) rename ansible/{playbooks => }/roles/observer/files/grafana/provisioning/datasources/all.yml (100%) rename ansible/{playbooks => }/roles/observer/files/prometheus_alerts_rules.yml (100%) rename ansible/{playbooks => }/roles/observer/files/prometheus_main.yml (100%) rename ansible/{playbooks => }/roles/observer/tasks/main.yml (100%) rename ansible/{playbooks => }/roles/observer/templates/alertmanager/alertmanager.j2 (100%) rename ansible/{playbooks => }/roles/target/defaults/main.yml (100%) rename ansible/{playbooks => }/roles/target/tasks/main.yml (100%) rename ansible/{playbooks => }/roles/time-sync/README.md (100%) rename ansible/{playbooks => }/roles/time-sync/defaults/main.yml (100%) rename ansible/{playbooks => }/roles/time-sync/handlers/main.yml (100%) rename ansible/{playbooks => }/roles/time-sync/meta/main.yml (100%) rename ansible/{playbooks => }/roles/time-sync/tasks/main.yml (100%) rename ansible/{playbooks => }/roles/time-sync/tests/inventory (100%) rename ansible/{playbooks => }/roles/time-sync/tests/test.yml (100%) rename ansible/{playbooks => }/roles/time-sync/vars/main.yml (100%) diff --git a/.gitignore b/.gitignore index 7fe4c38..58b1cf6 100644 --- a/.gitignore +++ b/.gitignore @@ -49,4 +49,4 @@ crash.log .terraformrc.json # Ignore secrets -doppler-token.yaml \ No newline at end of file +doppler-token.yaml.DS_Store diff --git a/ansible/playbooks/roles/common/files/unbound.conf b/ansible/roles/common/files/unbound.conf similarity index 100% rename from ansible/playbooks/roles/common/files/unbound.conf rename to ansible/roles/common/files/unbound.conf diff --git a/ansible/playbooks/roles/dns-manager/defaults/main.yml b/ansible/roles/dns-manager/defaults/main.yml similarity index 100% rename from ansible/playbooks/roles/dns-manager/defaults/main.yml rename to ansible/roles/dns-manager/defaults/main.yml diff --git a/ansible/playbooks/roles/dns-manager/tasks/main.yml b/ansible/roles/dns-manager/tasks/main.yml similarity index 100% rename from ansible/playbooks/roles/dns-manager/tasks/main.yml rename to ansible/roles/dns-manager/tasks/main.yml diff --git a/ansible/playbooks/roles/haproxy/README.md b/ansible/roles/haproxy/README.md similarity index 100% rename from ansible/playbooks/roles/haproxy/README.md rename to ansible/roles/haproxy/README.md diff --git a/ansible/playbooks/roles/haproxy/defaults/main.yml b/ansible/roles/haproxy/defaults/main.yml similarity index 100% rename from ansible/playbooks/roles/haproxy/defaults/main.yml rename to ansible/roles/haproxy/defaults/main.yml diff --git a/ansible/playbooks/roles/haproxy/handlers/main.yml b/ansible/roles/haproxy/handlers/main.yml similarity index 100% rename from ansible/playbooks/roles/haproxy/handlers/main.yml rename to ansible/roles/haproxy/handlers/main.yml diff --git a/ansible/playbooks/roles/haproxy/tasks/certbot-cloudflare.yml b/ansible/roles/haproxy/tasks/certbot-cloudflare.yml similarity index 100% rename from ansible/playbooks/roles/haproxy/tasks/certbot-cloudflare.yml rename to ansible/roles/haproxy/tasks/certbot-cloudflare.yml diff --git a/ansible/playbooks/roles/haproxy/tasks/certificates.yml b/ansible/roles/haproxy/tasks/certificates.yml similarity index 100% rename from ansible/playbooks/roles/haproxy/tasks/certificates.yml rename to ansible/roles/haproxy/tasks/certificates.yml diff --git a/ansible/playbooks/roles/haproxy/tasks/configure.yml b/ansible/roles/haproxy/tasks/configure.yml similarity index 100% rename from ansible/playbooks/roles/haproxy/tasks/configure.yml rename to ansible/roles/haproxy/tasks/configure.yml diff --git a/ansible/playbooks/roles/haproxy/tasks/install.yml b/ansible/roles/haproxy/tasks/install.yml similarity index 100% rename from ansible/playbooks/roles/haproxy/tasks/install.yml rename to ansible/roles/haproxy/tasks/install.yml diff --git a/ansible/playbooks/roles/haproxy/tasks/main.yml b/ansible/roles/haproxy/tasks/main.yml similarity index 100% rename from ansible/playbooks/roles/haproxy/tasks/main.yml rename to ansible/roles/haproxy/tasks/main.yml diff --git a/ansible/playbooks/roles/haproxy/tasks/validate.yml b/ansible/roles/haproxy/tasks/validate.yml similarity index 100% rename from ansible/playbooks/roles/haproxy/tasks/validate.yml rename to ansible/roles/haproxy/tasks/validate.yml diff --git a/ansible/playbooks/roles/haproxy/templates/certbot-post-hook.sh.j2 b/ansible/roles/haproxy/templates/certbot-post-hook.sh.j2 similarity index 100% rename from ansible/playbooks/roles/haproxy/templates/certbot-post-hook.sh.j2 rename to ansible/roles/haproxy/templates/certbot-post-hook.sh.j2 diff --git a/ansible/playbooks/roles/haproxy/templates/cloudflare-credentials.ini.j2 b/ansible/roles/haproxy/templates/cloudflare-credentials.ini.j2 similarity index 100% rename from ansible/playbooks/roles/haproxy/templates/cloudflare-credentials.ini.j2 rename to ansible/roles/haproxy/templates/cloudflare-credentials.ini.j2 diff --git a/ansible/playbooks/roles/haproxy/templates/haproxy.cfg.j2 b/ansible/roles/haproxy/templates/haproxy.cfg.j2 similarity index 100% rename from ansible/playbooks/roles/haproxy/templates/haproxy.cfg.j2 rename to ansible/roles/haproxy/templates/haproxy.cfg.j2 diff --git a/ansible/playbooks/roles/haproxy/templates/logrotate.j2 b/ansible/roles/haproxy/templates/logrotate.j2 similarity index 100% rename from ansible/playbooks/roles/haproxy/templates/logrotate.j2 rename to ansible/roles/haproxy/templates/logrotate.j2 diff --git a/ansible/playbooks/roles/n8n/tasks/main.yml b/ansible/roles/n8n/tasks/main.yml similarity index 100% rename from ansible/playbooks/roles/n8n/tasks/main.yml rename to ansible/roles/n8n/tasks/main.yml diff --git a/ansible/playbooks/roles/n8n/templates/n8n.service.j2 b/ansible/roles/n8n/templates/n8n.service.j2 similarity index 100% rename from ansible/playbooks/roles/n8n/templates/n8n.service.j2 rename to ansible/roles/n8n/templates/n8n.service.j2 diff --git a/ansible/playbooks/roles/no-swap/tasks/main.yml b/ansible/roles/no-swap/tasks/main.yml similarity index 100% rename from ansible/playbooks/roles/no-swap/tasks/main.yml rename to ansible/roles/no-swap/tasks/main.yml diff --git a/ansible/playbooks/roles/ntp-server/tasks/main.yml b/ansible/roles/ntp-server/tasks/main.yml similarity index 100% rename from ansible/playbooks/roles/ntp-server/tasks/main.yml rename to ansible/roles/ntp-server/tasks/main.yml diff --git a/ansible/playbooks/roles/observer/defaults/main.yml b/ansible/roles/observer/defaults/main.yml similarity index 100% rename from ansible/playbooks/roles/observer/defaults/main.yml rename to ansible/roles/observer/defaults/main.yml diff --git a/ansible/playbooks/roles/observer/files/grafana/provisioning/dashboards/all.yml b/ansible/roles/observer/files/grafana/provisioning/dashboards/all.yml similarity index 100% rename from ansible/playbooks/roles/observer/files/grafana/provisioning/dashboards/all.yml rename to ansible/roles/observer/files/grafana/provisioning/dashboards/all.yml diff --git a/ansible/playbooks/roles/observer/files/grafana/provisioning/dashboards/main/cadvisor.json b/ansible/roles/observer/files/grafana/provisioning/dashboards/main/cadvisor.json similarity index 100% rename from ansible/playbooks/roles/observer/files/grafana/provisioning/dashboards/main/cadvisor.json rename to ansible/roles/observer/files/grafana/provisioning/dashboards/main/cadvisor.json diff --git a/ansible/playbooks/roles/observer/files/grafana/provisioning/dashboards/main/node-exporter.json b/ansible/roles/observer/files/grafana/provisioning/dashboards/main/node-exporter.json similarity index 100% rename from ansible/playbooks/roles/observer/files/grafana/provisioning/dashboards/main/node-exporter.json rename to ansible/roles/observer/files/grafana/provisioning/dashboards/main/node-exporter.json diff --git a/ansible/playbooks/roles/observer/files/grafana/provisioning/datasources/all.yml b/ansible/roles/observer/files/grafana/provisioning/datasources/all.yml similarity index 100% rename from ansible/playbooks/roles/observer/files/grafana/provisioning/datasources/all.yml rename to ansible/roles/observer/files/grafana/provisioning/datasources/all.yml diff --git a/ansible/playbooks/roles/observer/files/prometheus_alerts_rules.yml b/ansible/roles/observer/files/prometheus_alerts_rules.yml similarity index 100% rename from ansible/playbooks/roles/observer/files/prometheus_alerts_rules.yml rename to ansible/roles/observer/files/prometheus_alerts_rules.yml diff --git a/ansible/playbooks/roles/observer/files/prometheus_main.yml b/ansible/roles/observer/files/prometheus_main.yml similarity index 100% rename from ansible/playbooks/roles/observer/files/prometheus_main.yml rename to ansible/roles/observer/files/prometheus_main.yml diff --git a/ansible/playbooks/roles/observer/tasks/main.yml b/ansible/roles/observer/tasks/main.yml similarity index 100% rename from ansible/playbooks/roles/observer/tasks/main.yml rename to ansible/roles/observer/tasks/main.yml diff --git a/ansible/playbooks/roles/observer/templates/alertmanager/alertmanager.j2 b/ansible/roles/observer/templates/alertmanager/alertmanager.j2 similarity index 100% rename from ansible/playbooks/roles/observer/templates/alertmanager/alertmanager.j2 rename to ansible/roles/observer/templates/alertmanager/alertmanager.j2 diff --git a/ansible/playbooks/roles/target/defaults/main.yml b/ansible/roles/target/defaults/main.yml similarity index 100% rename from ansible/playbooks/roles/target/defaults/main.yml rename to ansible/roles/target/defaults/main.yml diff --git a/ansible/playbooks/roles/target/tasks/main.yml b/ansible/roles/target/tasks/main.yml similarity index 100% rename from ansible/playbooks/roles/target/tasks/main.yml rename to ansible/roles/target/tasks/main.yml diff --git a/ansible/playbooks/roles/time-sync/README.md b/ansible/roles/time-sync/README.md similarity index 100% rename from ansible/playbooks/roles/time-sync/README.md rename to ansible/roles/time-sync/README.md diff --git a/ansible/playbooks/roles/time-sync/defaults/main.yml b/ansible/roles/time-sync/defaults/main.yml similarity index 100% rename from ansible/playbooks/roles/time-sync/defaults/main.yml rename to ansible/roles/time-sync/defaults/main.yml diff --git a/ansible/playbooks/roles/time-sync/handlers/main.yml b/ansible/roles/time-sync/handlers/main.yml similarity index 100% rename from ansible/playbooks/roles/time-sync/handlers/main.yml rename to ansible/roles/time-sync/handlers/main.yml diff --git a/ansible/playbooks/roles/time-sync/meta/main.yml b/ansible/roles/time-sync/meta/main.yml similarity index 100% rename from ansible/playbooks/roles/time-sync/meta/main.yml rename to ansible/roles/time-sync/meta/main.yml diff --git a/ansible/playbooks/roles/time-sync/tasks/main.yml b/ansible/roles/time-sync/tasks/main.yml similarity index 100% rename from ansible/playbooks/roles/time-sync/tasks/main.yml rename to ansible/roles/time-sync/tasks/main.yml diff --git a/ansible/playbooks/roles/time-sync/tests/inventory b/ansible/roles/time-sync/tests/inventory similarity index 100% rename from ansible/playbooks/roles/time-sync/tests/inventory rename to ansible/roles/time-sync/tests/inventory diff --git a/ansible/playbooks/roles/time-sync/tests/test.yml b/ansible/roles/time-sync/tests/test.yml similarity index 100% rename from ansible/playbooks/roles/time-sync/tests/test.yml rename to ansible/roles/time-sync/tests/test.yml diff --git a/ansible/playbooks/roles/time-sync/vars/main.yml b/ansible/roles/time-sync/vars/main.yml similarity index 100% rename from ansible/playbooks/roles/time-sync/vars/main.yml rename to ansible/roles/time-sync/vars/main.yml