From ff3180d7b4553662b12bc74438799ee3a53bcc43 Mon Sep 17 00:00:00 2001 From: Dan Fedele Date: Fri, 17 Apr 2020 16:41:16 -0400 Subject: Added some bashrc manipulation --- kali.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'kali.yml') 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 -- cgit v1.2.3