[GIT] refactor submodules: add all to own repo
This commit is contained in:
commit
6ce42341b2
19 changed files with 328 additions and 0 deletions
41
tasks/usersettings.yml
Normal file
41
tasks/usersettings.yml
Normal file
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
# Common/Usersettings: Universial Dotfiles. Update regularly.
|
||||
|
||||
- name: usersettings - Install/ Update oh-my-zsh for jannik
|
||||
git:
|
||||
repo: https://github.com/robbyrussell/oh-my-zsh.git
|
||||
dest: .oh-my-zsh
|
||||
|
||||
- name: usersettings - Install/ Update fzf sources
|
||||
git:
|
||||
repo: https://github.com/junegunn/fzf.git
|
||||
dest: .fzf
|
||||
register:
|
||||
fzf_git
|
||||
- name: (Re-)Install fzf
|
||||
shell: ".fzf/install --key-bindings --no-completion --no-update-rc"
|
||||
when:
|
||||
- fzf_git.after != fzf_git.before
|
||||
|
||||
- name: usersettings - Copy dotfiles
|
||||
copy:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
with_items:
|
||||
- { src: '{{ role_path }}/files/dotfiles/_gitconfig', dest: '.gitconfig' }
|
||||
- { src: '{{ role_path }}/files/dotfiles/_gitignore_global', dest: '.gitignore_global' }
|
||||
- { src: '{{ role_path }}/files/dotfiles/_tmux.conf', dest: '.tmux.conf' }
|
||||
- { src: '{{ role_path }}/files/dotfiles/_vimrc', dest: '.vimrc' }
|
||||
- { src: '{{ role_path }}/files/dotfiles/_zshrc', dest: '.zshrc' }
|
||||
- { src: '{{ role_path }}/files/dotfiles/_oh-my-zsh/custom/themes/agnoster.zsh-theme', dest: '.oh-my-zsh/custom/themes/agnoster.zsh-theme' }
|
||||
|
||||
- name: usersettings - Install vim plugins
|
||||
git:
|
||||
repo: "{{ item.repo }}"
|
||||
dest: "{{ item.dest }}"
|
||||
with_items:
|
||||
- { repo: 'https://github.com/itchyny/lightline.vim', dest: '.vim/bundle/lightline' }
|
||||
- { repo: 'https://github.com/w0rp/ale', dest: '.vim/bundle/ale' }
|
||||
- { repo: 'https://github.com/airblade/vim-gitgutter', dest: '.vim/bundle/vim-gitgutter' }
|
||||
- { repo: 'https://github.com/sheerun/vim-polyglot', dest: '.vim/bundle/vim-polyglot' }
|
||||
- { repo: 'https://github.com/tpope/vim-commentary', dest: '.vim/bundle/vim-commentary' }
|
Loading…
Add table
Add a link
Reference in a new issue