refactor: update SSH configurations and add new key for Menno's 2025 setup
Some checks failed
Nix Format Check / check-format (push) Failing after 37s

This commit is contained in:
2025-01-28 15:16:07 +01:00
parent 79179aaaec
commit 8b51d375e5
13 changed files with 54 additions and 18 deletions

View File

@ -4,5 +4,5 @@ mennos-desktop ansible_connection=local
[servers]
mennos-server ansible_connection=local
homeserver-pc ansible_connection=local
mennos-hobbypc ansible_connection=local
mennos-vm ansible_connection=local

View File

@ -18,4 +18,4 @@
- name: Include server tasks
ansible.builtin.import_tasks: tasks/servers/server.yml
when: hostname in ['mennos-server', 'homeserver-pc', 'mennos-vm']
when: hostname in ['mennos-server', 'mennos-hobbypc', 'mennos-vm']

View File

@ -25,13 +25,11 @@
follow: false
vars:
gitconfig_mapping:
mennos-desktop: "~/dotfiles/config/git/gitconfig.linux"
mennos-laptop: "~/dotfiles/config/git/gitconfig.linux"
mennos-server: "~/dotfiles/config/git/gitconfig.mennos-server"
mennos-vm: "~/dotfiles/config/git/gitconfig.mennos-server"
mennos-desktop: "~/dotfiles/config/git/gitconfig.linux"
mennos-gamingpc: "~/dotfiles/config/git/gitconfig.linux"
mennos-laptop: "~/dotfiles/config/git/gitconfig.linux"
homeserver-pc: "~/dotfiles/config/git/gitconfig.linux"
wsl: "~/dotfiles/config/git/gitconfig.wsl"
mennos-hobbypc: "~/dotfiles/config/git/gitconfig.linux"
- name: Create SSH authorized_keys symlink
ansible.builtin.file:
@ -42,10 +40,8 @@
follow: false
vars:
authorized_keys_mapping:
mennos-desktop: "~/dotfiles/config/ssh/authorized_keys/mennos-desktop"
mennos-laptop: "~/dotfiles/config/ssh/authorized_keys/mennos-laptop"
mennos-server: "~/dotfiles/config/ssh/authorized_keys/mennos-server"
mennos-vm: "~/dotfiles/config/ssh/authorized_keys/mennos-server"
mennos-desktop: "~/dotfiles/config/ssh/authorized_keys/mennos-desktop"
mennos-gamingpc: "~/dotfiles/config/ssh/authorized_keys/mennos-gamingpc"
mennos-laptop: "~/dotfiles/config/ssh/authorized_keys/mennos-laptop"
homeserver-pc: "~/dotfiles/config/ssh/authorized_keys/homeserver-pc"
wsl: "~/dotfiles/config/ssh/authorized_keys/wsl"
mennos-hobbypc: "~/dotfiles/config/ssh/authorized_keys/mennos-hobbypc"