diff --git a/README.md b/README.md index a345529..6df35ea 100644 --- a/README.md +++ b/README.md @@ -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_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 diff --git a/tasks/usersettings.yml b/tasks/usersettings.yml index a1356bc..1b83a8b 100644 --- a/tasks/usersettings.yml +++ b/tasks/usersettings.yml @@ -36,6 +36,16 @@ - { src: '{{ role_path }}/files/dotfiles/_gitconfig', dest: '.gitconfig' } 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 git: repo: "{{ item.repo }}" diff --git a/tasks/usersetup-Darwin.yml b/tasks/usersetup-Darwin.yml index 6cc0468..5a75fd9 100644 --- a/tasks/usersetup-Darwin.yml +++ b/tasks/usersetup-Darwin.yml @@ -16,20 +16,6 @@ when: - 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 file: path: .ansbl-common-usersetup diff --git a/tasks/usersetup-Debian.yml b/tasks/usersetup-Debian.yml index fb11956..8a60aaa 100644 --- a/tasks/usersetup-Debian.yml +++ b/tasks/usersetup-Debian.yml @@ -16,20 +16,6 @@ when: - 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 become: yes locale_gen: