klips/ansible/roles
Shaun Reed 54431f3e1e Add README for fail2ban
+ Remove redundant playbooks
2021-05-21 14:09:34 -04:00
..
core Add README for ansible/roles/core 2021-05-21 12:12:27 -04:00
docker Add README for ansible/roles/docker 2021-05-21 12:24:38 -04:00
fail2ban Add README for fail2ban 2021-05-21 14:09:34 -04:00
nginx Add README for ansible/roles/nginx 2021-05-21 13:22:01 -04:00
postfix Add README for ansible/roles/postfix 2021-05-21 13:47:08 -04:00
README.md Add README for fail2ban 2021-05-21 14:09:34 -04:00
core.yml Update core ansible role 2020-11-23 23:07:31 +00:00
docker.yml Add play to backup bookstack, reorganize files 2020-05-23 03:47:59 +00:00
fail2ban.yml Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
nginx.yml Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00
postfix.yml Update to more recent Ansible roles 2020-11-25 11:38:20 +00:00

README.md

Roles

Ansible roles created with ansible-galaxy init <role> --offline command

Roles

  • core - Role to configure a new host with basic authentication / package settings
  • docker - Role to install docker, docker-compose, configure docker user group (Debian / Ubuntu)
  • fail2ban - Role to install and configure fail2ban on a new host
  • nginx - Role to install and configure a new nginx webserver on a host
  • postfix - Role to install and configure postfix on a new host

All of these roles assume you are using the apt package manager, and running a Debian / Ubuntu system.

core

A role for configuring a set of packages / settings on a new Ubuntu host using Ansible.

Packages Added / Configured

Git

  • Configure / set user name and email

SSH

  • MOTD (Template, replacable, displayed on login.)
  • PAM (Template, replacable, authusers file to bypass)
  • Yubikey authentication PAM module
  • authusers (Add users to file to bypass PAM settings)

Vim

  • Install Vim and customizable list of plugins

Ranger

docker

Install and configure Docker and Docker Compose on a new Ubuntu host using Ansible.

fail2ban

A simple role for installing and configuring fail2ban on a new Ubuntu host using Ansible. Supports templates for jail.local settings and provides a custom filter.d directory copy custom filters to the remote host.

nginx

Install and configure nginx on a new Ubuntu host using Ansible. Supports templates for index.html and custom nginx.conf

postfix

Install and configure the postfix MTA on a new Ubuntu host using Ansible. Supports templates for main.cf and custom sasl_passwd