prole/infrastructure/playbooks/tmp_bao_dir.yml
chrisfu 2244d6acd6 Refactor iSCSI Synology mounts to /synology/d00x
- Rename host mount namespace from /prole/d00x to /synology/d00x

- Make LUN ownership explicit per host in inventory (myrddin=d001; merlin=d002,d004; pi=d003)

- Add safe migration cleanup for legacy /prole/d00x mounts and stale /etc/fstab entries

- Update k3s/ArgoCD/OpenTofu manifests and PV node affinities to match new mount paths

- Improve iSCSI role check-mode behavior and add quiesce/detach flow in ansible.sh
2026-03-21 10:43:06 -07:00

10 lines
310 B
YAML

---
- hosts: myrddin.prole.org
become: true
tasks:
- name: Ensure OpenBao storage directory exists
ansible.builtin.file:
path: /synology/d001/openbao
state: directory
mode: "0777" # OpenBao pod runs as non-root usually, but k3s local-path often needs this or specific UID