Get zsh and neovim configurations from git

This commit is contained in:
Yorick Barbanneau 2023-03-16 22:48:08 +01:00
parent cc6e752c59
commit 8011081703
4 changed files with 15 additions and 96 deletions

View file

@ -48,14 +48,21 @@
state: present
become: true
- name: Copy ZSH files
ansible.builtin.copy:
src: '{{ item }}'
dest: '{{ ansible_user_dir }}'
mode: '0640'
loop:
- zsh/.zshrc
- zsh/.zprofile
- name: Clone my zsh repository
ansible.builtin.git:
repo: ssh://git@git.epha.se:24422/ephase/zsh_config.git
dest: '{{ ansible_user_dir }}/.config/zsh'
- name: Symlink .zshenv to ~
ansible.builtin.file:
src: '{{ ansible_user_dir }}/.config/zsh/.zshenv'
dest: '{{ ansible_user_dir }}/.zshenv'
state: link
- name: Clone my neovim repository
ansible.builtin.git:
repo: ssh://git@git.epha.se:24422/ephase/nvim_config.git
dest: '{{ ansible_user_dir }}/.config/nvim'
- name: Launch Sway related roles
hosts: all