mirror of
https://github.com/snachodog/ansible_playbooks.git
synced 2025-04-10 13:31:23 -06:00
Update README.md
Some formatting fixes from the transition from nano
This commit is contained in:
parent
f2f7027ab9
commit
3216c25f8c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user