summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fedele <dan.fedele@gmail.com>2020-04-17 10:32:11 -0400
committerDan Fedele <dan.fedele@gmail.com>2020-04-17 10:32:11 -0400
commit1c430b3078e5fb04d497ad0da09caca9c49a06bd (patch)
tree1aa07d31ec5343f6e5bc5587edd32d7699b15669
parent88489a0cfe58bf85db2404071fe77d23878ad9d9 (diff)
Modified to make more idempotent
-rw-r--r--kali.yml10
1 files 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