dotfiles to ssh after downloading

This commit is contained in:
Bartal Laearsson
2026-06-29 13:44:12 +01:00
parent c78ddf7189
commit 312d10b55b
2 changed files with 14 additions and 0 deletions
+13
View File
@@ -18,6 +18,19 @@
update: true
become: false
- name: Restore dotfiles SSH origin
ansible.builtin.command:
argv:
- git
- -C
- "{{ dotfiles_dir }}"
- remote
- set-url
- origin
- "{{ dotfiles_ssh_repo }}"
become: false
changed_when: false
- name: Install all dotfiles with GNU Stow
ansible.builtin.shell: stow -R *
args:
+1
View File
@@ -3,6 +3,7 @@ user_name: "{{ lookup('env', 'USER') }}"
user_home: "{{ lookup('env', 'HOME') }}"
dotfiles_dir: "{{ user_home }}/dotfiles"
dotfiles_repo: https://codeberg.org/bartal-lsn/dotfiles.git
dotfiles_ssh_repo: git@codeberg.org:bartal-lsn/dotfiles.git
system_timezone: Atlantic/Faroe
system_locale: en_US.UTF-8