tweak installer, playbooks

This commit is contained in:
Marco Ochse
2023-06-30 13:15:30 +02:00
parent e4b73c5be7
commit 2d1a06551c
5 changed files with 17 additions and 9 deletions

View File

@ -3,6 +3,7 @@
- name: On Debian, check if sudo is installed
hosts: all
gather_facts: true
become: false
pre_tasks:
- name: Check for non-root user id

View File

@ -6,6 +6,8 @@
- name: T-Pot Abort if run as root
hosts: all
gather_facts: true
become: false
pre_tasks:
- name: Check if running as root
assert:
@ -312,6 +314,7 @@
- name: T-Pot - Adjust group users, bashrc, clone / update T-Pot repository
hosts: all
gather_facts: true
become: false
tasks:
- name: Add aliases (All)

View File

@ -3,6 +3,7 @@
- name: On Debian, remove sudo
hosts: all
gather_facts: true
become: false
pre_tasks:
- name: Check for non-root user id

View File

@ -6,6 +6,7 @@
- name: T-Pot Abort if run as root
hosts: all
gather_facts: true
become: false
pre_tasks:
- name: Check if running as root
@ -27,6 +28,7 @@
- name: T-Pot - Remove group users, bashrc
hosts: all
gather_facts: true
become: false
tasks:
- name: Remove aliases (All)