Добавить ansible/templates/ippool.j2
This commit is contained in:
14
ansible/templates/ippool.j2
Normal file
14
ansible/templates/ippool.j2
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: IPAddressPool
|
||||||
|
metadata:
|
||||||
|
name: main-pool
|
||||||
|
namespace: metallb-system
|
||||||
|
spec:
|
||||||
|
addresses:
|
||||||
|
- {{ metallb_ip_range }}
|
||||||
|
---
|
||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: L2Advertisement
|
||||||
|
metadata:
|
||||||
|
name: l2-adv
|
||||||
|
namespace: metallb-system
|
||||||
Reference in New Issue
Block a user