current state + english docs

This commit is contained in:
Ansible Servercow
2026-02-20 13:56:27 +01:00
parent 787f438a97
commit ea7d5112d6
46 changed files with 519 additions and 108 deletions

View File

@@ -2,10 +2,13 @@
vars:
os_update_major_version: true # Can either be true or false | To toggle if systems need to be upgraded to newer codename
os_update_version_codename: "trixie" # Change to switch major release (e.g. bookworm or trixie) | Used for jinja2 Template fill in as it determines the current codename of system where ansible is run on
do_snapshots: true # Can either be true or false | To toggle if snapshots should be created before major upgrade
snapshot_name: "AUTO_before_major_{{ ansible_date_time.date }}" # Name of the snapshot to be created before major upgrade
vars_files:
# Load vault file for sensitive data like Proxmox API tokens
- ../vault.yml
user: tincadmin
become: true
tasks:
- name: Verify if system is Debian
debug:
@@ -43,6 +46,7 @@
when:
- ansible_os_family == "Debian"
- current_os_codename | lower != os_update_version_codename | lower
- do_snapshots | default(false)
- name: Create Snapshot before Modifications
ansible.builtin.include_role:
@@ -51,6 +55,7 @@
when:
- ansible_os_family == "Debian"
- current_os_codename | lower != os_update_version_codename | lower
- do_snapshots | default(false)
- name: Include OS update role
ansible.builtin.include_role: