add git clone

This commit is contained in:
t3chn0m4g3 2023-06-22 18:36:37 +02:00
parent 048cbb8b6c
commit d7bcfda109

View file

@ -134,11 +134,11 @@
name: sshd name: sshd
state: restarted state: restarted
###################################### #######################################################################
# T-Pot - Adjust group users, bashrc # # T-Pot - Adjust group users, bashrc, clone / update T-Pot repository #
###################################### #######################################################################
- name: T-Pot - Adjust group users, bashrc - name: T-Pot - Adjust group users, bashrc, clone / update T-Pot repository
hosts: all hosts: all
gather_facts: true gather_facts: true
@ -153,6 +153,14 @@
insertafter: EOF insertafter: EOF
state: present state: present
- name: Clone / Update T-Pot repository
git:
repo: 'https://github.com/telekom-security/tpotce'
dest: '/home/{{ ansible_user_id }}/tpot/'
version: dev
clone: yes
update: no
- name: Add current user to Docker, T-Pot group - name: Add current user to Docker, T-Pot group
become: true become: true
user: user: