You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-14Lines changed: 35 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,8 @@ The Role can install the RKE2 in 3 modes:
28
28
29
29
## Tested on
30
30
31
-
* Rocky Linux 8
32
-
* Ubuntu 20.04 LTS
33
-
* Ubuntu 22.04 LTS
31
+
* Rocky Linux 9
32
+
* Ubuntu 24.04 LTS
34
33
35
34
## Role Variables
36
35
@@ -39,7 +38,7 @@ This is a copy of `defaults/main.yml`
39
38
```yaml
40
39
---
41
40
# The node type - server or agent
42
-
rke2_type: server
41
+
rke2_type: "{{ 'server' if inventory_hostname in groups[rke2_servers_group_name] else 'agent' if inventory_hostname in groups[rke2_agents_group_name] }}"
Copy file name to clipboardExpand all lines: defaults/main.yml
+24-2Lines changed: 24 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
# The node type - server or agent
3
-
rke2_type: server
3
+
rke2_type: "{{ 'server' if inventory_hostname in groups[rke2_servers_group_name] else 'agent' if inventory_hostname in groups[rke2_agents_group_name] }}"
0 commit comments