create a sample inventory directory

This commit is contained in:
Zaher Ghaibeh 2020-06-06 11:45:49 +03:00
parent fff8a16dee
commit 9a1659ad54
3 changed files with 3 additions and 13 deletions

2
inventory/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
!.gitignore
!sample

View File

@ -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

View File

@ -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"