Update git forge setup

This commit is contained in:
Sonny Bakker 2024-11-11 10:17:02 +01:00
parent 8bd8ce698c
commit c775ba3fa5
2 changed files with 6 additions and 6 deletions

View file

@ -6,14 +6,14 @@
name: '{{ item }}' name: '{{ item }}'
state: present state: present
loop: '{{ packages }}' loop: '{{ packages }}'
- name: add gitlab to known hosts - name: add git forge to known hosts
include_role: include_role:
name: common name: common
tasks_from: 'known_hosts.yml' tasks_from: 'known_hosts.yml'
vars: vars:
user: '{{ ansible_user_id }}' user: '{{ ansible_user_id }}'
items: items:
- { domain: '{{ gitlab_domain }}', key: '{{ gitlab_host_key }}' } - { domain: '{{ git_domain }}', key: '{{ git_host_key }}' }
roles: roles:
- common - common
tasks: tasks:

View file

@ -4,8 +4,8 @@ ansible_python_interpreter: '/usr/bin/env python'
xdg_config_dir: '{{ ansible_env.HOME }}/.config' xdg_config_dir: '{{ ansible_env.HOME }}/.config'
xdg_data_dir: '{{ ansible_env.HOME }}/.local/share' xdg_data_dir: '{{ ansible_env.HOME }}/.local/share'
dotfiles_repo: 'git@git.fudiggity.nl:sonny/dotfiles.git' dotfiles_repo: 'git@forgejo.fudiggity.nl:sonny/dotfiles.git'
public_dotfiles_repo: 'git@git.fudiggity.nl:sonny/dotfiles.git' public_dotfiles_repo: 'git@forgejo.fudiggity.nl:sonny/dotfiles.git'
neovim_plugins: neovim_plugins:
- { url: 'https://github.com/nvim-tree/nvim-tree.lua', name: 'nvim-tree' } - { url: 'https://github.com/nvim-tree/nvim-tree.lua', name: 'nvim-tree' }
@ -48,5 +48,5 @@ neovim_plugins:
version: 'v1.1.2', version: 'v1.1.2',
} }
gitlab_domain: 'git.fudiggity.nl' git_domain: 'forgejo.fudiggity.nl'
gitlab_host_key: 'git.fudiggity.nl ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINh/SlWqWmH2FG+duiJkkSpq0Fm+wUAmc//4/CbzbX5+' git_host_key: 'forgejo.fudiggity.nl ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBqEej87ukSK7KGi7e0q+oTrru4h7Fm6fK8GgiMtu01+'