Added ZSH + ohmyzsh

This commit is contained in:
Sagi Dayan 2021-10-30 12:54:38 +03:00
parent 061cca81b5
commit bcecaa589b
Signed by: sagi
GPG key ID: FAB96BFC63B46458
2 changed files with 15 additions and 0 deletions

View file

@ -2,11 +2,13 @@
become: true
package:
name:
- zsh
- curl
- bat
- wget
- git
- flatpak
- ranger
state: present
- name: Some more packages (RedHat based)
@ -22,6 +24,17 @@
dest: ~/.gitconfig
force: no
- name: Setting up oh-my-zsh
git:
repo: https://github.com/ohmyzsh/ohmyzsh.git
dest: ~/.oh-my-zsh
- name: Making sure to use ZSH as shell
become: true
user:
name: "{{ running_user }}"
shell: /bin/zsh
- name: Copy zsh config
copy:
src: dotfiles/zshrc

View file

@ -2,6 +2,8 @@
vars:
# Theme options: monokai, gruvbox, nord
theme: nord
# The running user
running_user: "{{ ansible_user_id }}"
roles:
- base
- fonts