]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blobdiff - roles/tools/tasks/main.yml
Use check_mode for commands
[perso/Immae/Config/Ansible.git] / roles / tools / tasks / main.yml
index fe5b023cef01d7a38f136d15323666c0a7d69acb..70bba9d295b738f845ea975b8f35e844ff6d5031 100644 (file)
     path: $XDG_STATE_HOME/psql
     state: directory
 - name: vim config file
-  register: vim_result
   copy:
     src: vimrc
     dest: $XDG_CONFIG_HOME/vim/vimrc
-- name: run PlugInstall
-  shell: vim -c PlugInstall -c qa
-  when: vim_result.changed
+  notify:
+    - run PlugInstall
 - name: tmux config file
   template:
     src: tmux.conf.j2