mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2024-09-28 03:57:30 +02:00
create a sample inventory directory
This commit is contained in:
parent
fff8a16dee
commit
9a1659ad54
2
inventory/.gitignore
vendored
Normal file
2
inventory/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
!.gitignore
|
||||
!sample
|
@ -1,12 +0,0 @@
|
||||
[master]
|
||||
192.168.1.26
|
||||
|
||||
[node]
|
||||
192.168.1.34
|
||||
192.168.1.39
|
||||
192.168.1.16
|
||||
192.168.1.32
|
||||
|
||||
[k3s_cluster:children]
|
||||
master
|
||||
node
|
@ -3,4 +3,4 @@ k3s_version: v1.17.5+k3s1
|
||||
ansible_user: debian
|
||||
systemd_dir: /etc/systemd/system
|
||||
master_ip: "{{ hostvars[groups['master'][0]]['ansible_host'] | default(groups['master'][0]) }}"
|
||||
extra_server_args: ""
|
||||
extra_server_args: "--node-taint k3s-controlplane=true:NoExecute"
|
Loading…
Reference in New Issue
Block a user