--- # Installation tasks - name: Installing plugin dependencies ansible.builtin.include_tasks: "depend/{{ ansible_os_family | lower }}.yml" - name: Creating autoload dir ansible.builtin.file: path: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.vim/autoload" state: directory owner: syntaxerrormmm group: syntaxerrormmm - name: Installing vim-plug from git ansible.builtin.get_url: url: "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" dest: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.vim/autoload/plug.vim" owner: syntaxerrormmm group: syntaxerrormmm mode: '0644'