Skip to content
Snippets Groups Projects
Commit 0b17a15e authored by Ing. Klára Moravcová's avatar Ing. Klára Moravcová
Browse files

Fix modify task.

parent c4d7fc1d
Branches
No related tags found
No related merge requests found
- name: Include kubeconfig_localhost variable
include_vars:
file: ~/kubernetes-infra-example/ansible/group_vars/k8s_cluster/k8s-cluster.yml
file: "{{ playbook_dir }}/../artifacts/admin.conf"
- name: Modify admin.conf
ansible.builtin.replace:
......
......@@ -25,4 +25,5 @@ external_cloud_provider: openstack
#kube_apiserver_access_address: {{ hostvars[groups['bastion'][0]].ansible_host }}"
install_nginx_task: false
install_monitoring_task: false
\ No newline at end of file
install_monitoring_task: false
kubeconfig_localhost: true
\ No newline at end of file
......@@ -4,6 +4,4 @@ kube_version: v1.27.5
## Supplementary addresses that can be added in kubernetes ssl keys.
## That can be useful for example to setup a keepalived virtual IP
supplementary_addresses_in_ssl_keys: ["{{ hostvars[groups['bastion'][0]].ansible_host }}"]
kubeconfig_localhost: true
supplementary_addresses_in_ssl_keys: ["{{ hostvars[groups['bastion'][0]].ansible_host }}"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment