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