Reset SSH-port of host-machines to 1022
I want to use port 22 for my git-server, therefore I have to make this port free for use of kubernetes. This change allows this, so when I want to connect to the host-machines I'll use port 1022.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
ansible_ssh_common_args: '-o StrictHostKeyChecking=accept-new -o ProxyCommand="ssh -p 22 -W %h:%p -q root@188.245.199.197"'
|
||||
ansible_ssh_common_args: -o StrictHostKeyChecking=accept-new -o ProxyCommand="ssh -p 1022 -W %h:%p -q root@{{ hostvars[groups['server'][0]]['ansible_host'] | default(groups['server'][0]) }}"
|
||||
k3s_version: v1.31.6+k3s1
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
ansible_user: root
|
||||
ansible_port: 1022
|
||||
api_endpoint: "{{ hostvars[groups['server'][0]]['ansible_host'] | default(groups['server'][0]) }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user