chore: add pre-commit config
This commit is contained in:
parent
b9d8cd04d4
commit
83345289be
28 changed files with 40 additions and 28 deletions
|
|
@ -14,4 +14,4 @@
|
|||
mode: 600
|
||||
|
||||
- name: Install k3s agent
|
||||
shell: "bash /tmp/k3s.install.sh agent"
|
||||
shell: "bash /tmp/k3s.install.sh agent"
|
||||
|
|
|
|||
|
|
@ -4,4 +4,3 @@
|
|||
get_url:
|
||||
url: https://get.k3s.io
|
||||
dest: /tmp/k3s.install.sh
|
||||
|
||||
|
|
|
|||
|
|
@ -16,4 +16,4 @@
|
|||
etcd_snapshot_dir: "/nfs/nas1/backups/{{ short_hostname }}"
|
||||
|
||||
- name: Install k3s master
|
||||
command: bash /tmp/k3s.install.sh
|
||||
command: bash /tmp/k3s.install.sh
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
token: {{ cluster_token }}
|
||||
server: https://{{ tls_san }}:6443
|
||||
server: https://{{ tls_san }}:6443
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
k3s_version: "v1.27.4+k3s1"
|
||||
tls_san: "{{ lookup('env', 'ANSIBLE_TLS_SAN') | mandatory }}"
|
||||
cluster_token: "{{ lookup('env', 'ANSIBLE_CLUSTER_TOKEN') | mandatory }}"
|
||||
cluster_token: "{{ lookup('env', 'ANSIBLE_CLUSTER_TOKEN') | mandatory }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue