Update README.md

Some formatting fixes from the transition from nano
This commit is contained in:
Steve Dogiakos 2025-03-21 14:40:29 -06:00 committed by GitHub
parent f2f7027ab9
commit 3216c25f8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,12 +2,12 @@
This repository contains an Ansible playbook and inventory file to automate the installation and basic configuration of Fail2Ban on multiple Debian/Ubuntu servers. This repository contains an Ansible playbook and inventory file to automate the installation and basic configuration of Fail2Ban on multiple Debian/Ubuntu servers.
## `Contents fail2ban-setup.yaml` ## `Contents fail2ban-setup.yaml`
Ansible playbook to install and configure Fail2Ban ansiblehosts.yaml - Ansible playbook to install and configure Fail2Ban ansiblehosts.yaml
Inventory file listing the servers to manage - Inventory file listing the servers to manage
## Inventory File ## Inventory File
The ansiblehosts.yaml file contains your target servers and connection details. The ansiblehosts.yaml file contains your target servers and connection details.
Example format: **Example format:**
``` ```
[webservers] [webservers]
192.168.1.219 ansible_user=steve ansible_ssh_private_key_file=/home/steve/.ssh/id_ed25519 ansible_become=true 192.168.1.219 ansible_user=steve ansible_ssh_private_key_file=/home/steve/.ssh/id_ed25519 ansible_become=true