Skip to content
Snippets Groups Projects
Commit b30fb6ca authored by nimrod's avatar nimrod
Browse files

Ansible: Use port 22 for ns1.

My SSH config uses port 443 which is great for breaking out from
restricted networks, but not so great when restarting HAProxy and the
SSH connection breaks during an Ansible run.
parent 099c6982
No related branches found
No related tags found
No related merge requests found
Pipeline #3741 waiting for manual action
......@@ -2,8 +2,9 @@
all:
hosts:
ns1:
ansible_host: ns1.shore.co.il
ansible_become_method: community.general.doas
ansible_host: ns1.shore.co.il
ansible_ssh_port: 22
ns4:
ansible_host: ns4.shore.co.il
kodi:
......@@ -15,9 +16,9 @@ all:
host01:
ansible_host: host01.shore.co.il
localhost:
ansible_host: localhost
ansible_become: false
ansible_connection: local
ansible_host: localhost
vars:
ansible_become: true
ansible_become_user: root
......@@ -25,5 +26,5 @@ all:
ansible_python_interpreter: python3
children:
pkg_mgr_apt:
pkg_mgr_opkg:
pkg_mgr_openbsd_pkg:
pkg_mgr_opkg:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment