postinstall/roles/config/tasks/main.yml

25 lines
472 B
YAML

---
- name: Set up zsh as default shell
user:
name: sortion
shell: /bin/zsh
- name: Git Status Check
stat:
path: /usr/bin/git
register: git
- name: Dotfiles Clone Repository
# Check if git is installed
when: git.stat.exists
# Clone dotfiles
git:
repo: ssh://gitea@forge.chapril.org:222/UncleSamulus/.dotfiles.git
dest: /home/sortion/.dotfiles
- name: Dotfiles Install
make:
chdir: /home/sortion/.dotfiles
target: install