diff --git a/roles/init-server/tasks/contingent/pkg/vim.yml b/roles/init-server/tasks/contingent/pkg/vim.yml index 918215b..f994454 100644 --- a/roles/init-server/tasks/contingent/pkg/vim.yml +++ b/roles/init-server/tasks/contingent/pkg/vim.yml @@ -19,6 +19,7 @@ recurse: true owner: "{{ ansible_user }}" group: "{{ ansible_user }}" + mode: "755" state: directory loop: - autoload @@ -30,7 +31,7 @@ become_user: "{{ current_user.stdout }}" ansible.builtin.uri: url: "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" - dest: "{{ ansible_user_home.stdout }}/.vim/autoload/" + dest: "{{ ansible_user_home.stdout }}/.vim/autoload/plug.vim" owner: "{{ ansible_user }}" group: "{{ ansible_user }}" force: true @@ -46,4 +47,9 @@ group: "{{ ansible_user }}" force: true backup: true - # @TODO run command to make sure plugins referenced in 'vimrc' are installed +- name: Informing user of need to manually run PlugInstall in ViM + ansible.builtin.debug: + msg: "Make sure to run \":PlugInstall\" the first time you open/use ViM" +- name: Pausing to ensure user has read message about needed manual PlugInstall execution for ViM + ansible.builtin.pause: + seconds: 30