From ba2f687e12eecee2c33caedb551952a5f1437505 Mon Sep 17 00:00:00 2001 From: Actaeus Curabitur Date: Tue, 6 Sep 2022 04:57:18 -0500 Subject: [PATCH] fixed host keys --- states/systems/core/backup/init.sls | 4 ++-- states/systems/core/mount/init.sls | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/states/systems/core/backup/init.sls b/states/systems/core/backup/init.sls index 07f19ca..c46016f 100644 --- a/states/systems/core/backup/init.sls +++ b/states/systems/core/backup/init.sls @@ -23,8 +23,8 @@ backup_host.actcur.com: - name: host.actcur.com - hash_known_hosts: False - user: root - - enc: ecdsa-sha2-nistp256 - - key: "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCnvAIi9HiYDsQCHPWPQrgdLTANveZ3K9v1+0iJDA2yEo67EfkFl7O9Go/pVkOoSjV+eWKQ9A7Az7aMY1tc9ur0=" + - enc: ssh-ed25519 + - key: "AAAAC3NzaC1lZDI1NTE5AAAAIDmNZT8bMAfwQGwG/ZE/vkzSBsS4Cv+F7REkIw1tP27J" #need to add host entry in .ssh/config.d {{ name }}_config: file.managed: diff --git a/states/systems/core/mount/init.sls b/states/systems/core/mount/init.sls index 639269f..bff81c2 100644 --- a/states/systems/core/mount/init.sls +++ b/states/systems/core/mount/init.sls @@ -64,9 +64,8 @@ mount_host.actcur.com: - name: host.actcur.com - hash_known_hosts: False - user: root - - enc: ecdsa-sha2-nistp256 - - key: "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCnvAIi9HiYDsQCHPWPQrgdLTANveZ3K9v1+0iJDA2yEo67EfkFl7O9Go/pVkOoSjV+eWKQ9A7Az7aMY1tc9ur0=" - + - enc: ssh-ed25519 + - key: "AAAAC3NzaC1lZDI1NTE5AAAAIDmNZT8bMAfwQGwG/ZE/vkzSBsS4Cv+F7REkIw1tP27J" {% for mount in pillar['mount']['sshfs'] %} {%- if pillar['mount']['sshfs'][mount]['user'] is defined -%} {%- set user=pillar['mount']['sshfs'][mount]['user'] -%}