mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 15:34:30 +00:00
Update inventory/roles to keep K3s state on local storage and prevent iSCSI from managing /var/lib/rancher. Also add a single-host k3s install playbook, a systemd override template, and docs describing the installer ↔ Ansible boundary and slow-storage knobs. Co-authored-by: Junie <junie@jetbrains.com>
13 lines
632 B
Django/Jinja
13 lines
632 B
Django/Jinja
[Service]
|
|
{% if k3s_systemd_timeout_start_sec is defined and (k3s_systemd_timeout_start_sec | string | length) > 0 %}
|
|
TimeoutStartSec={{ k3s_systemd_timeout_start_sec }}
|
|
{% endif %}
|
|
{% if k3s_systemd_timeout_stop_sec is defined and (k3s_systemd_timeout_stop_sec | string | length) > 0 %}
|
|
TimeoutStopSec={{ k3s_systemd_timeout_stop_sec }}
|
|
{% endif %}
|
|
{% if k3s_systemd_restart is defined and (k3s_systemd_restart | string | length) > 0 %}
|
|
Restart={{ k3s_systemd_restart }}
|
|
{% endif %}
|
|
{% if k3s_systemd_restart_sec is defined and (k3s_systemd_restart_sec | string | length) > 0 %}
|
|
RestartSec={{ k3s_systemd_restart_sec }}
|
|
{% endif %} |