general: move vim autoload to usersettings

This commit is contained in:
Jannik Beyerstedt 2019-10-27 22:34:31 +01:00
parent c5cab3c075
commit 06a1720e30
4 changed files with 11 additions and 29 deletions

View file

@ -28,7 +28,7 @@ For a GUI/ Desktop machine, you can enable to install and configure VS Code:
- `user_lang_python`: Boolean to install Python dev tools and configure VS Code - `user_lang_python`: Boolean to install Python dev tools and configure VS Code
- `user_lang_golang`: Boolean to install Golang dev tools and configure VS Code - `user_lang_golang`: Boolean to install Golang dev tools and configure VS Code
The `user_lang_*` switches will also install the language onyl, if `user_vscode` is set to false. The `user_lang_*` switches will also install the language only, if `user_vscode` is set to false.
Dependencies Dependencies

View file

@ -36,6 +36,16 @@
- { src: '{{ role_path }}/files/dotfiles/_gitconfig', dest: '.gitconfig' } - { src: '{{ role_path }}/files/dotfiles/_gitconfig', dest: '.gitconfig' }
when: usersetup_gitconfig == true when: usersetup_gitconfig == true
- name: usersettings - Create .vim directory
file:
path: .vim/autoload
state: directory
- name: usersettings - Install vim plugin manager
get_url:
url: https://tpo.pe/pathogen.vim
dest: .vim/autoload/pathogen.vim
- name: usersettings - Install vim plugins - name: usersettings - Install vim plugins
git: git:
repo: "{{ item.repo }}" repo: "{{ item.repo }}"

View file

@ -16,20 +16,6 @@
when: when:
- common_usersetup.stat.exists == false and usersetup_chsh == true - common_usersetup.stat.exists == false and usersetup_chsh == true
- name: usersetup - Create .vim directory
file:
path: .vim/autoload
state: directory
when:
- common_usersetup.stat.exists == false
- name: usersetup - Install vim plugin manager
get_url:
url: https://tpo.pe/pathogen.vim
dest: .vim/autoload/pathogen.vim
when:
- common_usersetup.stat.exists == false
- name: usersetup - Create lockfile - name: usersetup - Create lockfile
file: file:
path: .ansbl-common-usersetup path: .ansbl-common-usersetup

View file

@ -16,20 +16,6 @@
when: when:
- common_usersetup.stat.exists == false and usersetup_chsh == true - common_usersetup.stat.exists == false and usersetup_chsh == true
- name: usersetup - Create .vim directory
file:
path: .vim/autoload
state: directory
when:
- common_usersetup.stat.exists == false
- name: usersetup - Install vim plugin manager
get_url:
url: https://tpo.pe/pathogen.vim
dest: .vim/autoload/pathogen.vim
when:
- common_usersetup.stat.exists == false
- name: usersetup - Setup locale en_US - name: usersetup - Setup locale en_US
become: yes become: yes
locale_gen: locale_gen: