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:
@@ -28,6 +28,11 @@
|
||||
when: target_ssh.unreachable is defined and
|
||||
target_ssh.unreachable == True
|
||||
|
||||
- name: Ensure SSH is reloaded
|
||||
meta: flush_handlers
|
||||
when: target_ssh.unreachable is defined and
|
||||
target_ssh.unreachable == True
|
||||
|
||||
- name: Reset ansible_port to configured value
|
||||
set_fact:
|
||||
ansible_port: "{{ target_ansible_port }}"
|
||||
|
||||
Reference in New Issue
Block a user