diff options
-rw-r--r-- | kali.yml | 23 | ||||
-rw-r--r-- | setup-kali.sh | 2 |
2 files changed, 13 insertions, 12 deletions
@@ -1,7 +1,12 @@ --- - hosts: localhost tasks: - - name: Installing base packages from apt + - name: Ensuring all packages are up to date + apt: + update_cache: yes + upgrade: dist + + - name: Installing one-off packages from package manager package: name: - terminator @@ -19,11 +24,6 @@ - steghide - git state: latest - - - name: Ensuring all packages are up to date - apt: - update_cache: yes - upgrade: dist - name: Clone JumboJohn git: @@ -72,10 +72,11 @@ user_install: no - name: Disable mouse interactivity in vim - lineinfile: - path: /var/etc/vimrc + blockinfile: + path: /etc/vim/vimrc insertafter: EOF state: present - line: - - "set mouse=" - - "set ttymouse="
\ No newline at end of file + block: | + " Added with ansible + set mouse= + set ttymouse=
\ No newline at end of file diff --git a/setup-kali.sh b/setup-kali.sh index 2512a8a..cccda10 100644 --- a/setup-kali.sh +++ b/setup-kali.sh @@ -10,7 +10,7 @@ echo "* Installing pip *" echo "***********************************" curl -s https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py -python3 /tmp/get-pip.py --user +python3 /tmp/get-pip.py --user --no-warn-script-location export PATH=$PATH:/root/.local/bin |