Handle password securely, needs htpasswd to create user:password:

- Update tpotinit and entrypoint.sh to reflect this
- Update install.sh to reflect this
- Update .env / env.example to reflect this

Reorder recommended packages in T-Pot Playbook
Add packages to T-Pot Playbook to ensure manual deployment via Ansible will offer the same environment as manual local installation via install.sh and local Ansible deployment.
This commit is contained in:
Marco Ochse
2023-07-05 23:03:41 +02:00
parent b3f1b71054
commit 12af5c9d46
5 changed files with 40 additions and 34 deletions

View File

@ -58,11 +58,11 @@
tags:
- "openSUSE Tumbleweed"
################################
# T-Pot - Abort if run as root #
################################
#####################################################################
# T-Pot - Abort if run as tpot, root or on unsupported distribution #
#####################################################################
- name: T-Pot - Abort if run as root
- name: T-Pot - Abort if run as tpot, root or on unsupported distribution
hosts: all
gather_facts: true
become: false
@ -117,14 +117,17 @@
- name: Install recommended packages (Debian, Ubuntu)
package:
name:
- apache2-utils
- bash-completion
- ca-certificates
- cracklib-runtime
- curl
- git
- gnupg
- grc
- vim
- net-tools
- vim
- wget
state: latest
update_cache: yes
when: ansible_distribution in ["Debian", "Ubuntu"]
@ -147,12 +150,15 @@
name:
- bash-completion
- ca-certificates
- cracklib
- curl
- dnf-plugins-core
- git
- grc
- vim
- httpd-tools
- net-tools
- vim
- wget
state: latest
update_cache: yes
when: ansible_distribution in ["AlmaLinux", "Fedora", "Rocky"]
@ -178,13 +184,16 @@
- name: Install recommended packages (openSUSE Tumbleweed)
package:
name:
- apache2-utils
- bash-completion
- busybox-net-tools
- ca-certificates
- cracklib
- curl
- git
- grc
- vim
- wget
state: latest
update_cache: yes
when: ansible_distribution in ["openSUSE Tumbleweed"]