diff --git a/playbooks/software/vim/deploy-vim.yml b/playbooks/software/vim/deploy-vim.yml index a63f076..340e186 100644 --- a/playbooks/software/vim/deploy-vim.yml +++ b/playbooks/software/vim/deploy-vim.yml @@ -18,6 +18,7 @@ repo_rustvim: "https://{{ gitea_token }}@{{ gitea_base }}/rust.vim_mirror.git" repo_tomlvim: "https://{{ gitea_token }}@{{ gitea_base }}/vim-toml_mirror.git" repo_challengerdeep: "https://{{ gitea_token }}@{{ gitea_base }}/vim_theme-challenger-deep_mirror.git" + repo_vimpolyglot: "https://{{ gitea_token }}@{{ gitea_base }}/vim-polyglot_mirror.git" tasks: - name: Установка пакета vim diff --git a/playbooks/software/vim/user-tasks.yml b/playbooks/software/vim/user-tasks.yml index fe4721a..bc940c1 100644 --- a/playbooks/software/vim/user-tasks.yml +++ b/playbooks/software/vim/user-tasks.yml @@ -57,6 +57,15 @@ dest: "{{ user_home }}/.vim/pack/plugins/start/challenger-deep" depth: 1 update: no + + - name: "[{{ current_user }}] Клонируем набор vim-polyglot" + git: + repo: "{{ repo_vimpolyglot }}" + dest: "{{ user_home }}/.vim/pack/plugins/start/vim-polyglot" + depth: 1 + update: no + + become_user: "{{ current_user }}" tags: [deploy] @@ -83,5 +92,11 @@ repo: "{{ repo_challengerdeep }}" dest: "{{ user_home }}/.vim/pack/plugins/start/challenger-deep" update: yes + + - name: "[{{ current_user }}] Обновляем набор vim-polyglot" + git: + repo: "{{ repo_vimpolyglot }}" + dest: "{{ user_home }}/.vim/pack/plugins/start/vim-polyglot" + update: yes become_user: "{{ current_user }}" tags: [update]