ansible-role-k3s/vars/main.yml

35 lines
738 B
YAML

---
k3s_arch_lookup:
amd64:
arch: amd64
suffix: ""
x86_64:
arch: amd64
suffix: ""
arm64:
arch: arm64
suffix: "-arm64"
aarch64:
arch: arm64
suffix: "-arm64"
arm:
arch: arm
suffix: "-armhf"
arm7:
arch: arm
suffix: "-armhf"
armv7l:
arch: arm
suffix: "-armhf"
armhf:
arch: arm
suffix: "-armhf"
k3s_github_api: "{{ k3s_github_url | replace('github.com', 'api.github.com') }}"
k3s_github_api_releases: "{{ k3s_github_api | replace('.com', '.com/repos') }}/releases/latest"
k3s_github_download_url: "{{ k3s_github_url }}/releases/download"
k3s_controller_count: []
k3s_systemd_context: system
k3s_systemd_unit_directory: "/etc/systemd/{{ k3s_systemd_context }}"