Get zsh and neovim configurations from git
This commit is contained in:
parent
cc6e752c59
commit
8011081703
4 changed files with 15 additions and 96 deletions
23
playbook.yml
23
playbook.yml
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue