πŸ”„ Update TrueNAS Safely

Use the optional update stage in configure_truenas.yml to install an approved TrueNAS release, optionally reboot, and verify service health. This is not an unattended update policy.

πŸ“‹ Prerequisites

πŸ“ Procedure to Complete

  1. Record the current release, boot environments, health baseline, and selected update target.
  2. Set reviewed truenas_update_enabled, optional truenas_update_train/truenas_update_version, and an explicit reboot policy.
  3. Document pre-update draining, installation, approved reboot, and expected middleware readiness checks.
  4. Validate share access, directory integration, applications, monitoring, and backup operations after boot.
  5. Restore the routine inventory update flags to the approved steady-state policy.

πŸ”Ž Ansible Integration

ansible-playbook -i inventory/truenas/inventory.ini playbooks/truenas/configure_truenas.yml --limit truenas-01 --tags truenas_update --list-tasks --ask-vault-pass

This lists tasks only. The stage defaults to disabled; selecting its tag does not override truenas_update_enabled: false. Update tasks call update.run with reboot disabled, then reboot separately only when the update reports changed and truenas_update_reboot is true. Without a pinned target, empty train/version inputs do not express an approved release. Check mode does not install or establish update compatibility.

βœ… Verification and Recovery