summaryrefslogtreecommitdiff
path: root/kali.yml
diff options
context:
space:
mode:
authorDan Fedele <dan.fedele@gmail.com>2020-04-17 16:41:16 -0400
committerDan Fedele <dan.fedele@gmail.com>2020-04-17 16:41:16 -0400
commitff3180d7b4553662b12bc74438799ee3a53bcc43 (patch)
treeb4544732d133f55ecde53ea1a4048e3f21d4a027 /kali.yml
parent7af7700788cb96de36dab1d0913f02adc5b83e1e (diff)
Added some bashrc manipulation
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