ansible-role-ericomeehan/tasks/main.yml
2024-08-08 11:17:26 -04:00

44 lines
836 B
YAML

---
# tasks file for ericomeehan.ericomeehan
- name: Install user environment packages
apt:
name:
- zplug
- zsh
state: present
- name: Set default shell to zsh
user:
name: eric
shell: /bin/zsh
- name: Copy zsh configuration
copy:
src: zshrc
dest: /home/eric/.zshrc
- name: Install custom zsh prompt
copy:
src: prompt_eric_setup
dest: /usr/share/zsh/functions/Prompts/prompt_eric_setup
- name: Copy tmux configuration
copy:
src: tmux.conf
dest: /home/eric/.tmux.conf
- name: Copy git configuration
copy:
src: gitconfig
dest: /home/eric/.gitconfig
- name: Create local configuration directory
file:
path: /home/eric/.config/nvim
state: directory
- name: Copy neovim configuration
copy:
src: init.lua
dest: /home/eric/.config/nvim/init.lua