Use port 1022 for all cluster nodes as SSH-port and fix some config-errors
I'm oversaw completely, that I have to change the SSH-port for all nodes in the cluster otherwise I cannot provide a meaningful load-balancer for the git-ssh port in it. Additionally this allowed me to fix some config errors which I simply oversaw.
This commit is contained in:
@@ -15,5 +15,5 @@
|
||||
lineinfile:
|
||||
path: "{{ lookup('env', 'HOME') }}/.kube/config"
|
||||
regexp: '^(\s*server: https://).*(:\d+)$'
|
||||
line: \g<1>{{ k8s_api_endpoint }}\g<2>
|
||||
line: \g<1>{{ api_endpoint }}\g<2>
|
||||
backrefs: yes
|
||||
|
||||
Reference in New Issue
Block a user