aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters')
-rw-r--r--deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
index 338f2574..89d8db87 100644
--- a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
+++ b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
@@ -91,63 +91,63 @@
- name: enable helm
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/k8s-cluster.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/k8s-cluster.yml
regexp: '^helm_enabled:'
line: 'helm_enabled: {{ helm_flag }}'
- name: enable external lb | set lb domain_nam
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^## apiserver_loadbalancer_domain_name:'
line: 'apiserver_loadbalancer_domain_name: {{ apiserver_loadbalancer_domain_name }}'
- name: enable external lb |
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^#loadbalancer_apiserver:'
line: 'loadbalancer_apiserver:'
- name: enable external lb | set vip address
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^# address: 1.2.3.4'
line: ' address: {{ vipaddress }}'
- name: enable external lb | set vip port
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^# port: 1234'
line: ' port: {{ exlb_port }}'
- name: enable internal lb
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^#loadbalancer_apiserver_localhost: true'
line: 'loadbalancer_apiserver_localhost: true'
- name: enable http proxy
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^#http_proxy:'
line: 'http_proxy: {{ http_proxy }}'
when: http_proxy != ''
- name: enable https proxy
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/all.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/all.yml
regexp: '^#https_proxy:'
line: 'https_proxy: {{ https_proxy }}'
when: https_proxy !=''
- name: use the user name and password login the dashboard
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/k8s-cluster.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/k8s-cluster.yml
regexp: '^#kube_basic_auth: false'
line: 'kube_basic_auth: true'
- name: add vip to ssl keys
lineinfile:
- dest: /opt/kargo_k8s/inventory/group_vars/k8s-cluster.yml
+ dest: /opt/kargo_k8s/inventory/sample/group_vars/k8s-cluster.yml
line: 'supplementary_addresses_in_ssl_keys: [{{ vipaddress }}]'
- name: rm openssl file