move rke2 vars to role

default values are in defaults
url in vars since that pattern should never change
This commit is contained in:
John Ratliff 2024-05-09 10:25:29 +00:00
parent f70bd28c56
commit dffd6962a4
3 changed files with 7 additions and 3 deletions

View file

@ -9,9 +9,8 @@ metallb_version: v0.13.12
lb_range: 192.168.3.80-192.168.3.90
lb_pool_name: first-pool
rke2_version: "v1.29.4+rke2r1"
rke2_install_dir: "/usr/local/bin"
rke2_binary_url: "https://github.com/rancher/rke2/releases/download/{{ rke2_version }}/rke2.linux-amd64"
# Set this if you want a different rke2 version than the default
# rke2_version: "v1.29.4+rke2r1"
ansible_become: true
ansible_become_method: sudo

View file

@ -0,0 +1,3 @@
---
rke2_install_dir: "/usr/local/bin"
rke2_version: "v1.29.4+rke2r1"

View file

@ -0,0 +1,2 @@
---
rke2_binary_url: "https://github.com/rancher/rke2/releases/download/{{ rke2_version }}/rke2.{{ os }}-{{ arch }}"