ansible: add ssh configuration

Change-Id: Idbc7a51c20125182b1e484ae516e8d72239c1e00
This commit is contained in:
Alexander Couzens 2023-01-10 01:49:42 +01:00 committed by laforge
parent 4427bd1b42
commit 68e1cddb3d
2 changed files with 7 additions and 0 deletions

View File

@ -1,2 +1,6 @@
[defaults]
stdout_callback=debug
[ssh_connection]
ssh_args = -F util/ssh_config -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=accept-new

3
ansible/util/ssh_config Normal file
View File

@ -0,0 +1,3 @@
UserKnownHostsFile=util/known_hosts
HashKnownHosts=no