Rename YAML file extensions from .yml to .yaml for consistency

This commit is contained in:
Nik Afiq 2026-03-06 00:04:59 +09:00
parent feb31a52fb
commit c7e6a9d465
2 changed files with 12 additions and 12 deletions

View File

@ -34,17 +34,17 @@ Infrastructure-as-Code for a 3-machine homelab running K3s.
```
ansible/
inventory.yml # host definitions
inventory.yaml # host definitions
playbooks/
bootstrap-minisforum.yml # OS hardening, packages, UFW, /data dirs
setup-k3s.yml # K3s server install, Helm, kubeconfig
bootstrap-minisforum.yaml # OS hardening, packages, UFW, /data dirs
setup-k3s.yaml # K3s server install, Helm, kubeconfig
roles/
common/ # user, SSH hardening, UFW, base packages
k3s-server/ # K3s server install + Helm
values/
traefik.yml ✅ deployed
gitea.yml 🔧 in progress
pihole.yml 🔧 in progress
traefik.yaml ✅ deployed
gitea.yaml 🔧 in progress
pihole.yaml 🔧 in progress
old.debian-data/ # gitignored — backup of pre-migration configs
```
@ -70,28 +70,28 @@ kubectl get pods -A
```bash
# Re-run bootstrap (idempotent)
ansible-playbook -i ansible/inventory.yml ansible/playbooks/bootstrap-minisforum.yml
ansible-playbook -i ansible/inventory.yaml ansible/playbooks/bootstrap-minisforum.yaml
# Re-run K3s setup (idempotent)
ansible-playbook -i ansible/inventory.yml ansible/playbooks/setup-k3s.yml
ansible-playbook -i ansible/inventory.yaml ansible/playbooks/setup-k3s.yaml
# Traefik
helm repo add traefik https://helm.traefik.io/traefik && helm repo update
helm upgrade --install traefik traefik/traefik \
--namespace traefik --create-namespace \
-f values/traefik.yml
-f values/traefik.yaml
# Gitea
helm repo add gitea-charts https://dl.gitea.com/charts/ && helm repo update
helm upgrade --install gitea gitea-charts/gitea \
--namespace gitea --create-namespace \
-f values/gitea.yml
-f values/gitea.yaml
# Pi-hole
helm repo add mojo2600 https://mojo2600.github.io/pihole-kubernetes/ && helm repo update
helm upgrade --install pihole mojo2600/pihole \
--namespace pihole --create-namespace \
-f values/pihole.yml
-f values/pihole.yaml
```
## See Also

View File

@ -1,4 +1,4 @@
[defaults]
inventory = ansible/inventory.yml
inventory = ansible/inventory.yaml
roles_path = ansible/roles
host_key_checking = False