--- # Configuring vim - name: Linking main file ansible.builtin.file: src: "{{ dotfdir }}/vimrc-{{ vim_rc_version }}" dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vimrc" state: link - name: Linking main folder ansible.builtin.file: src: "{{ dotfdir }}/vim" dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vim" state: link - name: Installing and configuring package manager - vim-plug ansible.builtin.import_tasks: pkgman/main.yml