From 32be9f57832cfed2b14f613fee1ba6058e4b1f14 Mon Sep 17 00:00:00 2001 From: Tobias Lehmann Date: Thu, 12 Sep 2024 13:02:18 +0200 Subject: [PATCH] fixed pub keys --- files/ssh/{ansible.pub => ansible-lxc.pub} | 0 files/ssh/root-lxc.pub | 1 + playbooks/captica-webserver.yml | 4 ++-- 3 files changed, 3 insertions(+), 2 deletions(-) rename files/ssh/{ansible.pub => ansible-lxc.pub} (100%) create mode 100644 files/ssh/root-lxc.pub diff --git a/files/ssh/ansible.pub b/files/ssh/ansible-lxc.pub similarity index 100% rename from files/ssh/ansible.pub rename to files/ssh/ansible-lxc.pub diff --git a/files/ssh/root-lxc.pub b/files/ssh/root-lxc.pub new file mode 100644 index 0000000..75e1fb7 --- /dev/null +++ b/files/ssh/root-lxc.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINOjMLOUrXJbCofUUWAfrel9UOIwy1XhCgpY1hfzF7md root@leh01 for Ansible \ No newline at end of file diff --git a/playbooks/captica-webserver.yml b/playbooks/captica-webserver.yml index 321b9f0..36e2301 100644 --- a/playbooks/captica-webserver.yml +++ b/playbooks/captica-webserver.yml @@ -15,9 +15,9 @@ - root - ansible ssh_pubkeys_root: - - "../files/ssh/root.pub" + - "../files/ssh/root-lxc.pub" ssh_pubkeys_ansible: - - "../files/ssh/id_ed25519_ansible.pub" + - "../files/ssh/ansible-lxc.pub" roles: - linux-base-install - zsh