lynxis lazus has uploaded this change for review.

View Change

ansible: add ssh configuration

Change-Id: Idbc7a51c20125182b1e484ae516e8d72239c1e00
---
M ansible/ansible.cfg
A ansible/util/ssh_config
2 files changed, 9 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/19/30919/1
diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg
index 11169e6..6c361a3 100644
--- a/ansible/ansible.cfg
+++ b/ansible/ansible.cfg
@@ -1,2 +1,8 @@
[defaults]
stdout_callback=debug
+
+remote_user = root
+
+[ssh_connection]
+ssh_args = -F util/ssh_config -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=accept-new
+
diff --git a/ansible/util/ssh_config b/ansible/util/ssh_config
new file mode 100644
index 0000000..9738e83
--- /dev/null
+++ b/ansible/util/ssh_config
@@ -0,0 +1,3 @@
+ UserKnownHostsFile=util/known_hosts
+ HashKnownHosts=no
+

To view, visit change 30919. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Idbc7a51c20125182b1e484ae516e8d72239c1e00
Gerrit-Change-Number: 30919
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>
Gerrit-MessageType: newchange