mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Fix inventory-sample and adapt README for multiple nodes (#250)
Signed-off-by: Derek Nola <derek.nola@suse.com> Co-authored-by: garb4ge <93313883+garb4ge@users.noreply.github.com>
This commit is contained in:
@@ -42,11 +42,11 @@ k3s_cluster:
|
||||
children:
|
||||
server:
|
||||
hosts:
|
||||
192.16.35.11
|
||||
192.16.35.11:
|
||||
agent:
|
||||
hosts:
|
||||
192.16.35.12
|
||||
192.16.35.13
|
||||
192.16.35.12:
|
||||
192.16.35.13:
|
||||
```
|
||||
|
||||
If needed, you can also edit `vars` section at the bottom to match your environment.
|
||||
|
||||
@@ -3,11 +3,11 @@ k3s_cluster:
|
||||
children:
|
||||
server:
|
||||
hosts:
|
||||
192.16.35.11
|
||||
192.16.35.11:
|
||||
agent:
|
||||
hosts:
|
||||
192.16.35.12
|
||||
192.16.35.13
|
||||
192.16.35.12:
|
||||
192.16.35.13:
|
||||
|
||||
# Required Vars
|
||||
vars:
|
||||
|
||||
Reference in New Issue
Block a user