[add kubespray settings]

This commit is contained in:
2024-05-14 21:14:14 +02:00
parent 76e493f1bd
commit bdf368d9ef
3 changed files with 21 additions and 2 deletions

View File

@@ -12,6 +12,15 @@ management_user_list:
commands: ALL
nopasswd: ALL
#* PACKAGES
package_repo:
- python3-pip
#! argocd control plane
- sshpass
#* FIREWALL
firewall_allowed_tcp_ports:

View File

@@ -55,10 +55,11 @@
loop:
- /etc/node_exporter
- name: Update repositories and install py3-pip package
- name: Update repositories and install packages needed
ansible.builtin.apt:
name: python3-pip
name: item
update_cache: true
loop: "{{ package_repo }}"
# delegate_to: localhost
- name: Install pip package

9
kubespray_vars.yml Normal file
View File

@@ -0,0 +1,9 @@
---
helm_enabled: true
metrics_server_enabled: true
ingress_nginx_enabled: true
cert_manager_enabled: true
argocd_enabled: true
node_feature_discovery_enabled: true
enable_nodelocaldns: false
enable_nodelocaldns_secondary: false