From: Grant Slater Date: Sat, 1 Oct 2022 23:39:55 +0000 (+0100) Subject: oxidized: add ssh known_hosts key for github X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/7b18a5954711dd534f484023c1526106ffc95afb oxidized: add ssh known_hosts key for github --- diff --git a/cookbooks/oxidized/recipes/default.rb b/cookbooks/oxidized/recipes/default.rb index 119ac13c1..d9689d714 100644 --- a/cookbooks/oxidized/recipes/default.rb +++ b/cookbooks/oxidized/recipes/default.rb @@ -107,6 +107,11 @@ execute "/opt/oxidized/.ssh/id_rsa.pub" do notifies :restart, "service[oxidized]" end +ssh_known_hosts_entry 'github.com' do + owner "oxidized" + group "oxidized" +end + git "/var/lib/oxidized/configs.git" do action :sync repository "git@github.com:openstreetmap/oxidized-configs.git" # Uses oxidized ssh key