From 7c8ed923df3c02338dfbf826fd6fd9a23dac502e Mon Sep 17 00:00:00 2001 From: heqnx Date: Sun, 25 May 2025 11:50:46 +0300 Subject: moved unorganized playbooks into old folder --- old/attackbox/tasks/github_repos.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 old/attackbox/tasks/github_repos.yaml (limited to 'old/attackbox/tasks/github_repos.yaml') diff --git a/old/attackbox/tasks/github_repos.yaml b/old/attackbox/tasks/github_repos.yaml new file mode 100644 index 0000000..042ea6c --- /dev/null +++ b/old/attackbox/tasks/github_repos.yaml @@ -0,0 +1,15 @@ +- name: ensure /opt/tools exists + ansible.builtin.file: + path: /opt/tools + state: directory + owner: root + group: root + mode: '0755' + +- name: clone github repos into /opt/tools + ansible.builtin.git: + repo: "{{ item }}" + dest: "/opt/tools/{{ item | basename | regex_replace('\\.git$', '') }}" + update: yes + force: yes + loop: "{{ github_repos }}" -- cgit v1.2.3