~xenrox/ansible

cf5119b65f31e7ce7fa0567a0635196c0e0ae3fd — Thorben Günther a month ago 21bc984
build: Setup known_hosts

Alternative would be to skip host key verification by setting
ANSIBLE_HOST_KEY_CHECKING=False, but copying them over is more secure.
2 files changed, 5 insertions(+), 0 deletions(-)

M .build.yml
A ssh_host_keys/xenrox.net
M .build.yml => .build.yml +2 -0
@@ 31,6 31,8 @@ tasks:
      terraform init -backend=false
      terraform validate
  - deploy: |
      mkdir -p ~/.ssh
      cp ansible/ssh_host_keys/xenrox.net ~/.ssh/known_hosts
      set +x
      . ~/.vault-secret
      set -x

A ssh_host_keys/xenrox.net => ssh_host_keys/xenrox.net +3 -0
@@ 0,0 1,3 @@
|1|7lbbKcjqFVL/gCIjQXjLL0zbMck=|iisNnKBNc3dfym4pfQhepUeGLWk= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHzCur/mW/rvH7OBB3WszmSEI1xMayf0n5wxvc99SK+9
|1|YejcZYqmQOuR0t9k+EcevD10Jmc=|4FI6g523G1JyFncmYo5RYvDtDII= ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC9hznFqb6E5Z/ZCk3xFfFgrat+8Q+l7U9ZTBMl3j/ccSokWm3yetJ0Q/N4vR9LhcKBmKiX7Jc9QQNqx86Ju1n8vcNDkutGajx0WR/iaFy4lOoTAeTwmm9bkP/JF79LIzft2bfg0buxvs3/XsM4CWcHSAxUw0LGAgxv6YyELLKNOYqGXsS5oeSD4ZRufkKR8RTb7qf5ghtj6rlMpwjGUcFkXYEfKtBQ9CyqXPfJCk8d8iG2lBEwJSeHV6GV7Ocdblus4nJap+2zUQZbpjsVHjhvZRXqYfGiTkyFFZ1a8xL3GlWPqmLB31riD0lKb5PgdisYMuCiuXC1nUwGGSNlI04+dVaFZG8eU1LtzAOgRvhCJXJRWMMD9XqUnVXHC9yDFIt/MGelOsXX62tuff6xbgwkxfX2emsxL5drYzO6Xjgg83LJiwZq1IyrUny3fXxTFHgoIcBz5Yx7f+9bfQJxlLUh5clT9hQUfsOoFjzVB/AaymttPNAk/edWA96fAWMwDx0=
|1|u0QoH+edN8R7omPD3qYb1Zmk5DM=|0cduXgX4G46lBuaSDS4BHttuACU= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBI3HO76R/U9g3auk7d+w2RkWv3k4pcFUPfHc9G+TVh+h3vfSt9DWqWNKY0cHBm2PbDZ1rQTI8XXUDS7xfauvi5E=