mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
add git clone
This commit is contained in:
parent
048cbb8b6c
commit
d7bcfda109
1 changed files with 12 additions and 4 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue