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.
11 lines
191 B
YAML
11 lines
191 B
YAML
- name: Restart sshd
|
|
systemd_service:
|
|
name: ssh.socket
|
|
state: restarted
|
|
daemon_reload: true
|
|
|
|
- name: Restart resolved
|
|
service:
|
|
name: systemd-resolved
|
|
state: restarted
|