remove k3s_server_public_ip
This commit is contained in:
parent
b50ad1435b
commit
3d5e80071a
@ -98,7 +98,6 @@ jobs:
|
||||
dns_ak=$DNS_AK
|
||||
dns_sk=$DNS_SK
|
||||
ingress_ip=$k3s_server_public_ip
|
||||
k3s_public_ip=$k3s_server_public_ip
|
||||
EOF
|
||||
ansible-playbook -i hosts/inventory jobs/init_k3s_cluster -D
|
||||
#ansible-playbook -i hosts/inventory jobs/init_mysql -D
|
||||
|
||||
@ -47,7 +47,7 @@ jobs:
|
||||
dns_ak=$DNS_AK
|
||||
dns_sk=$DNS_SK
|
||||
ingress_ip=18.162.44.15
|
||||
k3s_public_ip=18.162.44.15
|
||||
keycloak_ui_password=$OIDC_ADMIN_PASSWORD
|
||||
EOF
|
||||
#ansible-playbook -i hosts/inventory jobs/init_k3s_cluster -D
|
||||
#ansible-playbook -i hosts/inventory jobs/init_chatwithgpt -D
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
export k3s_public_ip=$1
|
||||
|
||||
mkdir -pv /opt/rancher/k3s
|
||||
curl -sfL https://get.k3s.io | sh -s - \
|
||||
--disable=traefik,servicelb \
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
- name: Setup K3S Server
|
||||
script: files/setup-k3s-with-hostpath-sc.sh {{ k3s_public_ip }}
|
||||
script: files/setup-k3s-with-hostpath-sc.sh
|
||||
when: inventory_hostname in groups[group]
|
||||
|
||||
- name: Setup Ingress
|
||||
|
||||
Loading…
Reference in New Issue
Block a user