This seems to be automatically selected, but on some other servers I notice it is not. I will set it here explicitly so fail2ban does not fall back to the inefficient "polling" or incorrect "systemd" backends.
|2 weeks ago|
|group_vars||6 months ago|
|host_vars||2 months ago|
|misc-plays||4 years ago|
|roles||2 weeks ago|
|vars||4 years ago|
|.gitignore||7 years ago|
|LICENSE||7 years ago|
|Pipfile||1 month ago|
|Pipfile.lock||4 weeks ago|
|README.md||4 months ago|
|ansible.cfg||7 months ago|
|nomads.yml||1 year ago|
|site.yml||1 year ago|
|web.yml||1 year ago|
Ansible playbook for base and initial configuration of the web server hosting my personal websites. After successful execution of this playbook, however, there is still some manual work to import databases, copy site content, etc.
Before you can run this, a few things are assumed:
- You have a clean, minimal Ubuntu 18.04/20.04 or Debian 10/11 host up and running
- Python 3 is installed on the remote server (requirement of Ansible)
- You have a user account with password-less SSH access to the machine
- You have sudo privileges on the remote host
- You have created a
hostsfile with something like:
Once you've satisfied the the above assumptions, you can execute:
$ ansible-playbook web.yml
- Switch from
Copyright (C) 2014–2021 Alan Orth
The contents of this repository are free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.