This commit is contained in:
DeveloperDurp 2025-04-06 20:13:27 -05:00
parent 1110cf573c
commit 0e46b7c6be
32 changed files with 799 additions and 0 deletions

View file

@ -0,0 +1,36 @@
- name: install fonts
include_tasks: "./scripts/install_fonts.yml"
- name: generate ssh keys
include_tasks: "./scripts/configure_ssh.yml"
#- name: Configure Gitlab SSH
# become_user: user
# ansible.builtin.command: pwsh -f ./scripts/configure_gitlab.ps1 "{{ GITLAB_TOKEN }}"
- user:
name: "user"
shell: /usr/bin/zsh
- name: Create bin folder
become_user: user
ansible.builtin.file:
path: ~/.local/bin
owner: "user"
group: "user"
mode: '0770'
state: directory
- name: run stow
become_user: user
shell: "stow --adopt ."
args:
chdir: ~/.dotfiles
- name: set gnome config
become_user: user
dconf:
key: "{{ item.key }}"
value: "{{ item.value }}"
with_items: "{{ dconf }}"
when: dconf is defined

View file

@ -0,0 +1,11 @@
- name: Load a variable file
include_vars: "{{ item }}"
with_first_found:
- "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
- "vars/{{ ansible_distribution }}.yml"
- "vars/{{ ansible_os_family }}.yml"
- "vars/defaults.yml"
- name:
include_tasks: "defaults.yml"