diff --git a/installer/ansible/debian.yml b/installer/ansible/debian.yml index 2310f8d4..c64be9cf 100644 --- a/installer/ansible/debian.yml +++ b/installer/ansible/debian.yml @@ -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: