Clark Boylan f6a0bf7be5 Improve gerrit known_hosts management
Previously we were only managing root's known_hosts via ansible but even
then this wasn't happening because the gerrit_self_hostkey var wasn't
set anywhere. On top of that we need to manage multiple known_hosts
because gerrit must recognize itself and all of the gitea servers.
Update the code to take a dict of host key values and add each entry to
known_hosts for both the root and gerrit2 user.

We remove keyscans from tests to ensure that this update is actually
working.

Change-Id: If64c34322f64c1fb63bf2ebdcc04355fff6ebba2
2021-08-02 09:53:27 -07:00
..
2021-06-02 13:56:19 +10:00
2020-02-12 16:39:11 +11:00
2020-11-20 19:13:32 +11:00
2021-02-24 00:02:04 +00:00
2021-05-29 17:18:55 +00:00
2021-07-12 11:04:36 -07:00
2021-02-19 09:54:31 +11:00
2020-12-10 09:21:48 +11:00
2021-05-17 14:28:37 +10:00
2020-11-05 11:56:46 +11:00
2020-04-16 12:45:36 -05:00
2020-10-19 14:06:57 +11:00
2021-05-11 08:40:01 -07:00
2021-05-11 08:40:01 -07:00
2021-07-26 21:01:57 +00:00
2021-07-20 13:33:40 -07:00
2021-03-16 15:12:41 +11:00
2020-04-16 12:08:00 -07:00
2018-08-23 21:34:42 +10:00