From 88bd294f1c6cfb26c752f9b3f11624213ff0acbe Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 8 Oct 2024 17:46:37 +0200 Subject: [PATCH] dd --- roles/mgrote_user_setup/tasks/main.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/roles/mgrote_user_setup/tasks/main.yml b/roles/mgrote_user_setup/tasks/main.yml index b1dc3dfa..f59f38f7 100644 --- a/roles/mgrote_user_setup/tasks/main.yml +++ b/roles/mgrote_user_setup/tasks/main.yml @@ -68,6 +68,16 @@ group: "{{ item.user }}" loop: "{{ dotfiles }}" +- name: Ensure needed vim dirs exist + become: true + ansible.builtin.file: + state: directory + path: "{{ item.home }}/.vim/" + owner: "{{ item.user }}" + group: "{{ item.user }}" + mode: '0755' + loop: "{{ dotfiles }}" + - name: Link vim spelldir become: true ansible.builtin.file: @@ -80,7 +90,6 @@ group: "{{ item.user }}" loop: "{{ dotfiles }}" - - name: add source .bash_extra to user .bashrc become: true ansible.builtin.lineinfile: @@ -99,16 +108,6 @@ mode: '0755' loop: "{{ dotfiles }}" -- name: Ensure needed spell dirs exist - become: true - ansible.builtin.file: - state: directory - path: "{{ item.home }}/.vim/spell/" - owner: "{{ item.user }}" - group: "{{ item.user }}" - mode: '0755' - loop: "{{ dotfiles }}" - - name: Ensure vundle-repository is cloned become: true become_user: "{{ item.user }}"