summaryrefslogtreecommitdiff
path: root/kali.yml
diff options
context:
space:
mode:
Diffstat (limited to 'kali.yml')
-rw-r--r--kali.yml16
1 files changed, 13 insertions, 3 deletions
diff --git a/kali.yml b/kali.yml
index ba85be4..0c4b10b 100644
--- a/kali.yml
+++ b/kali.yml
@@ -1,15 +1,18 @@
---
- hosts: localhost
become: yes
+ vars:
+ docker_repo_key: "https://download.docker.com/linux/debian/gpg"
+ docker_repo: "deb [arch=amd64] https://download.docker.com/linux/debian buster stable"
tasks:
- name: Add docker repo key
apt_key:
- url: https://download.docker.com/linux/debian/gpg
+ url: "{{ docker_repo_key }}"
state: present
- name: Add docker repo
apt_repository:
- repo: "deb [arch=amd64] https://download.docker.com/linux/debian buster stable"
+ repo: "{{ docker_repo }}"
state: present
- name: Ensuring all packages are up to date
@@ -91,4 +94,11 @@
state: present
block: |
set mouse=
- set ttymouse= \ No newline at end of file
+ set ttymouse=
+
+ - name: Copying over bashrc file
+ copy:
+ src: /tmp/master-bashrc
+ dest: /root/.bashrc
+ owner: root
+ group: root \ No newline at end of file