mirror of
https://github.com/MHA-Team/PTS-Team.git
synced 2026-02-22 13:37:31 +00:00
65 lines
1.4 KiB
Bash
65 lines
1.4 KiB
Bash
#!/bin/bash
|
|
#
|
|
# Title: PGBlitz (Reference Title File)
|
|
# Author(s): Admin9705 - Deiteq
|
|
# URL: https://pgblitz.com - http://github.pgblitz.com
|
|
# GNU: General Public License v3.0
|
|
################################################################################
|
|
---
|
|
- hosts: localhost
|
|
gather_facts: True
|
|
tasks:
|
|
- name: Install Common Packages (Takes Awhile)
|
|
apt: 'name={{item}} state=present'
|
|
with_items:
|
|
- fuse
|
|
- nano
|
|
- fail2ban
|
|
- wget
|
|
- lsb-release
|
|
- figlet
|
|
- software-properties-common
|
|
- unzip
|
|
- glances
|
|
- python-pip
|
|
- python3-pip
|
|
- python-passlib
|
|
- zip
|
|
- curl
|
|
- man-db
|
|
- htop
|
|
- openssh-server
|
|
- dirmngr
|
|
- zip
|
|
- apt-transport-https
|
|
- ca-certificates
|
|
- tree
|
|
- ncdu
|
|
- ctop
|
|
- dialog
|
|
- dnsutils
|
|
- mc
|
|
- apache2-utils
|
|
- lsof
|
|
- pwgen
|
|
- gawk
|
|
- python-lxml
|
|
- acl
|
|
- bc
|
|
- gnupg2
|
|
- python-apt
|
|
|
|
- name: Update pip packages for python3
|
|
pip:
|
|
name:
|
|
- pip
|
|
- setuptools
|
|
- pyOpenSSL
|
|
- requests
|
|
- netaddr
|
|
- lxml
|
|
- docker
|
|
- docker-py
|
|
state: latest
|
|
executable: pip3
|