This role:
-
Takes input from user for :
- which host to run the role on
- hostname for remote host
- user to be added on the remote host
- password for the new-user (for security reasons hashed password is recommended)
- IP/CIDR block to be ignored on Fail2ban configuration file
- Nagios Server's IP address for NRPE configuration
-
Adds a user to remote hosts
-
Changes hostname on remote hosts
-
Installs Apache
-
Installs and Configures Fail2ban
-
Installs and Configures NRPE