added k3s groups and initial state
This commit is contained in:
parent
b317dfc652
commit
ab5a894780
@ -26,6 +26,7 @@ ff02::3 ipv6-allhosts
|
|||||||
10.2.0.15 cumin
|
10.2.0.15 cumin
|
||||||
10.2.0.16 curry
|
10.2.0.16 curry
|
||||||
10.2.0.17 chervil
|
10.2.0.17 chervil
|
||||||
|
10.2.0.18 basil
|
||||||
10.2.0.101 salt
|
10.2.0.101 salt
|
||||||
10.2.0.102 pepper
|
10.2.0.102 pepper
|
||||||
# MetalLB
|
# MetalLB
|
||||||
|
7
k3s/firewalld.sls
Normal file
7
k3s/firewalld.sls
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Stop firewalld if running:
|
||||||
|
service.dead:
|
||||||
|
- name: firewalld
|
||||||
|
|
||||||
|
Disable firewalld:
|
||||||
|
service.disabled:
|
||||||
|
- name: firewalld
|
3
k3s/init.sls
Normal file
3
k3s/init.sls
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
include:
|
||||||
|
- k3s.firewalld
|
||||||
|
- k3s.network
|
@ -1,7 +1,7 @@
|
|||||||
configure /etc/sysconfig/network/config:
|
configure /etc/sysconfig/network/config:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /etc/sysconfig/network/config
|
- name: /etc/sysconfig/network/config
|
||||||
- source: salt://common/files/etc/sysconfig/network/config
|
- source: salt://k3s/files/etc/sysconfig/network/config
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- mode: "0644"
|
- mode: "0644"
|
Reference in New Issue
Block a user