k3s: Konfigurationsverzeichnis anlegen
ci / test (push) Successful in 27s

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Robert Rapp
2026-10-15 11:58:59 +02:00
co-authored by Claude Fable 5.1
parent d9537cbb42
commit dc4edb643f
2 changed files with 12 additions and 2 deletions
@@ -17,6 +17,12 @@
dest: "{{ k3s_install_script }}"
mode: "0755"
- name: Verzeichnis /etc/rancher/k3s
ansible.builtin.file:
path: /etc/rancher/k3s
state: directory
mode: "0755"
- name: Konfiguration /etc/rancher/k3s/config.yaml
ansible.builtin.copy:
dest: /etc/rancher/k3s/config.yaml
@@ -12,6 +12,12 @@
dest: "{{ k3s_install_script }}"
mode: "0755"
- name: Verzeichnis /etc/rancher/k3s
ansible.builtin.file:
path: /etc/rancher/k3s
state: directory
mode: "0755"
- name: Konfiguration /etc/rancher/k3s/config.yaml
ansible.builtin.copy:
dest: /etc/rancher/k3s/config.yaml
@@ -23,8 +29,6 @@
tls-san: [{{ k3s_server_name }}, {{ ansible_host }}]
node-label: [knaster.role=control]
register: k3s_server_config
vars:
ansible_become: true
- name: Installierte Version lesen
ansible.builtin.command: /usr/local/bin/k3s --version