new version after nix

This commit is contained in:
Bartal Laearsson
2026-06-29 13:23:11 +01:00
commit 753dfe7dc8
14 changed files with 898 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
---
- name: Ensure Stow target directories exist
ansible.builtin.file:
path: "{{ item.path }}"
state: directory
owner: "{{ user_name }}"
mode: "{{ item.mode }}"
loop:
- { path: "{{ user_home }}/.config", mode: "0755" }
- { path: "{{ user_home }}/.ssh", mode: "0700" }
become: false
- name: Clone or update the public dotfiles repository
ansible.builtin.git:
repo: "{{ dotfiles_repo }}"
dest: "{{ dotfiles_dir }}"
version: main
update: true
become: false
- name: Install all dotfiles with GNU Stow
ansible.builtin.shell: stow -R *
args:
chdir: "{{ dotfiles_dir }}"
executable: /bin/bash
become: false
changed_when: false