mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
add git clone
This commit is contained in:
@ -134,11 +134,11 @@
|
||||
name: sshd
|
||||
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
|
||||
gather_facts: true
|
||||
|
||||
@ -153,6 +153,14 @@
|
||||
insertafter: EOF
|
||||
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
|
||||
become: true
|
||||
user:
|
||||
|
Reference in New Issue
Block a user