1
0
Fork 0
forked from infra/ansible

also create a ssh_config for root with the non standard port

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2026-06-23 13:47:04 -07:00 committed by Kevin Fenzi
commit 03631331d0
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# Hosts that use a non standard ssh port.
Host proxy01.stg.rdu3.fedoraproject.org proxy02.stg.rdu3.fedoraproject.org
Port 222

View file

@ -706,6 +706,16 @@
- batcave
- config
# ssh config for easy ssh access to hosts that use a non standard port
- name: Copy root .ssh/config
ansible.builtin.copy:
src: root_ssh_config
dest: /root/.ssh/config
mode: '0600'
tags:
- batcave
- config
# Monitoring setup for Batcave
- name: Setup cron for generating SSH monitoring hostlist
ansible.builtin.copy: