├── .env ├── .gitignore ├── LICENSE ├── README.md ├── ansible.cfg ├── config ├── apt │ └── 20auto-upgrades ├── fail2ban │ └── jail.local └── ssh │ └── 99-custom.conf ├── inventory.ini ├── playbook.yml ├── roles ├── automatic_updates │ ├── files │ │ └── 20auto-upgrades │ └── tasks │ │ └── main.yml ├── logging_setup │ ├── files │ │ └── logrotate.conf │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ └── main.yml │ └── templates │ │ └── rsyslog.conf.j2 ├── package_installation │ └── tasks │ │ └── main.yml ├── security_setup │ ├── files │ │ └── jail.local │ └── tasks │ │ └── main.yml ├── ssh_setup │ ├── files │ │ └── 99-custom.conf │ ├── handlers │ │ └── main.yml │ └── tasks │ │ └── main.yml ├── system_updates │ └── tasks │ │ └── main.yml ├── time_configuration │ └── tasks │ │ └── main.yml └── user_management │ └── tasks │ └── main.yml └── run.sh /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | .env 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/README.md -------------------------------------------------------------------------------- /ansible.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/ansible.cfg -------------------------------------------------------------------------------- /config/apt/20auto-upgrades: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/config/apt/20auto-upgrades -------------------------------------------------------------------------------- /config/fail2ban/jail.local: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/config/fail2ban/jail.local -------------------------------------------------------------------------------- /config/ssh/99-custom.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/config/ssh/99-custom.conf -------------------------------------------------------------------------------- /inventory.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/inventory.ini -------------------------------------------------------------------------------- /playbook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/playbook.yml -------------------------------------------------------------------------------- /roles/automatic_updates/files/20auto-upgrades: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/automatic_updates/files/20auto-upgrades -------------------------------------------------------------------------------- /roles/automatic_updates/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/automatic_updates/tasks/main.yml -------------------------------------------------------------------------------- /roles/logging_setup/files/logrotate.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/logging_setup/files/logrotate.conf -------------------------------------------------------------------------------- /roles/logging_setup/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/logging_setup/handlers/main.yml -------------------------------------------------------------------------------- /roles/logging_setup/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/logging_setup/tasks/main.yml -------------------------------------------------------------------------------- /roles/logging_setup/templates/rsyslog.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/logging_setup/templates/rsyslog.conf.j2 -------------------------------------------------------------------------------- /roles/package_installation/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/package_installation/tasks/main.yml -------------------------------------------------------------------------------- /roles/security_setup/files/jail.local: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/security_setup/files/jail.local -------------------------------------------------------------------------------- /roles/security_setup/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/security_setup/tasks/main.yml -------------------------------------------------------------------------------- /roles/ssh_setup/files/99-custom.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/ssh_setup/files/99-custom.conf -------------------------------------------------------------------------------- /roles/ssh_setup/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/ssh_setup/handlers/main.yml -------------------------------------------------------------------------------- /roles/ssh_setup/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/ssh_setup/tasks/main.yml -------------------------------------------------------------------------------- /roles/system_updates/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/system_updates/tasks/main.yml -------------------------------------------------------------------------------- /roles/time_configuration/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/time_configuration/tasks/main.yml -------------------------------------------------------------------------------- /roles/user_management/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/roles/user_management/tasks/main.yml -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mist941/basic-server-configuration/HEAD/run.sh --------------------------------------------------------------------------------