mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-28 19:52:40 +01:00
🚚 Move to use meta files for roles
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
# If you want to explicitly define an interface that ALL control nodes
|
||||
# should use to propagate the VIP, define it here. Otherwise, kube-vip
|
||||
# will determine the right interface automatically at runtime.
|
||||
kube_vip_iface: null
|
||||
kube_vip_iface: ~
|
||||
|
||||
# Name of the master group
|
||||
kube_vip_cloud_provider_tag_version: main
|
||||
group_name_master: master
|
||||
|
||||
# yamllint disable rule:line-length
|
||||
|
||||
25
roles/k3s_server/meta/main.yml
Normal file
25
roles/k3s_server/meta/main.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
argument_specs:
|
||||
main:
|
||||
short_description: Setup k3s servers
|
||||
options:
|
||||
group_name_master:
|
||||
description: Name of the master group
|
||||
default: master
|
||||
|
||||
kube_vip_cloud_provider_tag_version:
|
||||
description: Tag for kube-vip-cloud-provider manifest when enabled
|
||||
default: main
|
||||
|
||||
kube_vip_lb_ip_range:
|
||||
description: IP range for kube-vip load balancer
|
||||
default: ~
|
||||
|
||||
proxy_env:
|
||||
type: dict
|
||||
description: Internet proxy configurations
|
||||
default: ~
|
||||
options:
|
||||
HTTP_PROXY:
|
||||
HTTPS_PROXY:
|
||||
NO_PROXY:
|
||||
Reference in New Issue
Block a user