mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 11:54:30 +00:00
- netplan_static: avoid Jinja whitespace/indent YAML breakage with trim_blocks; set /etc/netplan perms to 0600; add render+YAML-parse test - dashboard: install concrete conky provider (conky-all) and add defaults test; wire role into site.yml; document dashboard service usage - mariadb: add mariadb parent group for group_vars scope; add group defaults deriving datastore password from vault; add vault entry; add vars resolution test; remove host overrides - misc: update port-forward mappings, generated prole.cfg, and bump prole-db version Co-authored-by: Junie <junie@jetbrains.com>
20 lines
787 B
YAML
20 lines
787 B
YAML
---
|
|
- name: Verify mariadb_primary inventory variables resolve (including vault)
|
|
hosts: mariadb_primary
|
|
connection: local
|
|
gather_facts: false
|
|
become: false
|
|
|
|
tasks:
|
|
- name: Require MariaDB admin credentials
|
|
ansible.builtin.assert:
|
|
that:
|
|
- k3s_mariadb_admin_user | default('') | length > 0
|
|
- k3s_mariadb_admin_password | default('') | length > 0
|
|
fail_msg: "Expected k3s_mariadb_admin_user and vaulted k3s_mariadb_admin_password to be defined."
|
|
|
|
- name: Require k3s datastore MariaDB password
|
|
ansible.builtin.assert:
|
|
that:
|
|
- k3s_datastore_mariadb_password | default('') | length > 0
|
|
fail_msg: "Expected vaulted k3s_datastore_mariadb_password to be defined (directly or derived from a vaulted var)." |