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-08-02 09:53:27 -07:00
2021-06-28 19:39:41 +00:00
2020-07-08 13:54:44 +10:00
2021-04-13 13:51:48 -07:00
2021-03-18 11:59:30 +11:00
2021-03-19 16:01:46 +11:00
2021-07-20 11:57:10 +10:00