update rke2 inventory

add rke2 group for added targeting
This commit is contained in:
John Ratliff 2024-05-09 10:10:38 +00:00
parent e7a6429695
commit c67c9780b5
2 changed files with 9 additions and 1 deletions

View file

@ -13,6 +13,5 @@ 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"
ansible_user: ubuntu
ansible_become: true
ansible_become_method: sudo

View file

@ -9,3 +9,12 @@ server3 ansible_host=192.168.3.23
[agents]
agent1 ansible_host=192.168.3.24
agent2 ansible_host=192.168.3.25
[rke2]
[rke2:children]
servers
agents
[rke2:vars]
ansible_user=ansible