mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 14:44:32 +00:00
- Added tasks and playbooks for K3s datastore export/import using MariaDB Tools role, with associated tests and defaults. - Enhanced iSCSI role to support mkfs-once logic and safer re-initialization of block storage. - Migrated iSCSI-backed Rancher data from retropie to merlin.prole.org. - Updated k3s roles/playbooks to relax Rancher storage preflight checks, supporting PARTUUID-based mounts. - Adjusted Samba AD NetBIOS name derivation to use uppercase short hostname by default. - Incremented prole DB version to 104, updated generated prole.cfg, inventory, and recovery manifest templates.
18 lines
716 B
YAML
18 lines
716 B
YAML
---
|
|
- name: Ensure k3s install preflight does not enforce rancher-on-SD guardrail
|
|
hosts: localhost
|
|
connection: local
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
- name: Read k3s install tasks
|
|
ansible.builtin.set_fact:
|
|
_k3s_install_tasks: "{{ lookup('ansible.builtin.file', playbook_dir ~ '/../tasks/install.yml') }}"
|
|
|
|
- name: Assert rancher-on-SD guardrail is absent
|
|
ansible.builtin.assert:
|
|
that:
|
|
- (_k3s_install_tasks is search('Fail if rancher storage is on SD')) == false
|
|
- (_k3s_install_tasks is search('Preflight - detect rancher backing device')) == false
|
|
fail_msg: >-
|
|
k3s install preflight should not hard-fail based on rancher storage device. |