Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
d9537cbb42
commit
dc4edb643f
@@ -17,6 +17,12 @@
|
|||||||
dest: "{{ k3s_install_script }}"
|
dest: "{{ k3s_install_script }}"
|
||||||
mode: "0755"
|
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
|
- name: Konfiguration /etc/rancher/k3s/config.yaml
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/rancher/k3s/config.yaml
|
dest: /etc/rancher/k3s/config.yaml
|
||||||
|
|||||||
@@ -12,6 +12,12 @@
|
|||||||
dest: "{{ k3s_install_script }}"
|
dest: "{{ k3s_install_script }}"
|
||||||
mode: "0755"
|
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
|
- name: Konfiguration /etc/rancher/k3s/config.yaml
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/rancher/k3s/config.yaml
|
dest: /etc/rancher/k3s/config.yaml
|
||||||
@@ -23,8 +29,6 @@
|
|||||||
tls-san: [{{ k3s_server_name }}, {{ ansible_host }}]
|
tls-san: [{{ k3s_server_name }}, {{ ansible_host }}]
|
||||||
node-label: [knaster.role=control]
|
node-label: [knaster.role=control]
|
||||||
register: k3s_server_config
|
register: k3s_server_config
|
||||||
vars:
|
|
||||||
ansible_become: true
|
|
||||||
|
|
||||||
- name: Installierte Version lesen
|
- name: Installierte Version lesen
|
||||||
ansible.builtin.command: /usr/local/bin/k3s --version
|
ansible.builtin.command: /usr/local/bin/k3s --version
|
||||||
|
|||||||
Reference in New Issue
Block a user