14 Commits

Author SHA1 Message Date
jeet 52e06d1275 Add become to update and reboot 2026-03-23 20:02:20 +00:00
jeet 25f115d20b Fix become issue 2026-03-23 19:51:17 +00:00
jeet dc0819bb05 Add update_ansible_host.yml playbook
Dedicated playbook for updating the Ansible control node separately
from the bulk update_upgrade.yml which excludes AnsibleHost.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 14:19:53 -04:00
jeet d2e8cc6e70 Fix issues 3,5,6,7,8,9,11,15,16: security hardening and reliability improvements
- ansible.cfg: enable host_key_checking (closes #1)
- update_upgrade.yml: fix reboot crash on non-Debian hosts, exclude AnsibleHost from targets (closes #2, #7)
- deploy.yml: replace silent ignore_errors with real container health assertion (closes #3)
- redeploy.yml: same assertion fix + restic --overwrite always + RESTIC_RESTORE_PATH variable (closes #3, #4, #5)
- disaster.yml: same fixes as redeploy.yml (closes #3, #4, #5)
- docker_update_containers.yml: create missing playbook (closes #6)
- fresh_install.yml: add safety guard to abort if containers already running (closes #8)
- docker_status.yml: add become: true (closes #9)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 14:14:14 -04:00
jeet fa67a195ab Fix Docker install for Ubuntu 22.04+ and ARM64 OCI instances
- Replace deprecated apt_key/apt_repository with modern keyrings approach (signed-by)
- Use ansible_distribution_release instead of hardcoded focal
- Auto-detect arch: arm64 for aarch64 (Ampere), amd64 for x86
- Replace docker-compose (v1, EOL) with docker-compose-plugin (v2)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 22:21:24 -04:00
jeet 7453f94d88 Bash permissions 2026-03-18 21:11:11 +00:00
jeet 03cd36111a Update script 2026-03-18 21:01:49 +00:00
jeet 5f30dc47c1 Add rebooting to Ubuntu Instances 2026-03-18 20:08:06 +00:00
jeet c8dc8d4bb1 Remove 2026-02-19 21:20:00 +00:00
jeet fd2e5a78ef Add compose.env 2026-02-19 20:41:46 +00:00
jeet 5b2c91546f Fix playbook 2026-02-19 20:11:20 +00:00
jeet 2e26f2e5b4 Add ansible backup komodo task 2026-02-19 20:06:48 +00:00
madereddy b1a2d4d68d Update Compose Vault 2024-12-10 20:38:44 +00:00
madereddy a79ab09fc7 Intial Commit 2024-12-09 16:33:22 +00:00