From 1c430b3078e5fb04d497ad0da09caca9c49a06bd Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Fri, 17 Apr 2020 10:32:11 -0400 Subject: Modified to make more idempotent --- kali.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/kali.yml b/kali.yml index e950005..e2bbd19 100644 --- a/kali.yml +++ b/kali.yml @@ -72,6 +72,10 @@ user_install: no - name: Disable mouse interactivity in vim - command: - cmd: echo -e "set mouse=\nset ttymouse=\n" >> /etc/vim/vimrc - removes: /etc/vim/vimrc \ No newline at end of file + lineinfile: + path: /var/etc/vimrc + insertafter: EOF + state: present + line: + - "set mouse=" + - "set ttymouse=" \ No newline at end of file -- cgit v1.2.3