klips/ansible/roles/README.md

58 lines
1.6 KiB
Markdown
Raw Normal View History

2019-08-31 06:47:50 +00:00
# Roles
2020-11-23 19:45:00 +00:00
Ansible roles created with `ansible-galaxy init <role> --offline` command
2019-08-31 06:47:50 +00:00
2020-11-23 19:45:00 +00:00
Roles
2019-08-31 07:01:59 +00:00
- core - Role to configure a new host with basic authentication / package settings
2020-11-23 19:45:00 +00:00
- docker - Role to install docker, docker-compose, configure docker user group (Debian / Ubuntu)
- fail2ban - Role to install and configure fail2ban on a new host
2019-08-31 07:01:59 +00:00
- nginx - Role to install and configure a new nginx webserver on a host
2020-11-23 19:45:00 +00:00
- postfix - Role to install and configure postfix on a new host
2019-08-31 06:47:50 +00:00
All of these roles assume you are using the apt package manager, and running a Debian / Ubuntu system.
2019-08-31 07:08:24 +00:00
2019-08-31 06:47:50 +00:00
core
------------
2020-11-23 19:45:00 +00:00
A role for configuring a set of packages / settings on a new Ubuntu host using Ansible.
2019-08-31 06:47:50 +00:00
2019-08-31 07:08:24 +00:00
### Packages Added / Configured
Git
- Configure / set user name and email
SSH
- MOTD (Template, replacable, displayed on login.)
- PAM (Template, replacable, authusers file to bypass)
- authusers (Add users to file to bypass PAM settings)
Vim
- Install Vim
- Run https://github.com/shaunrd0/klips/blob/master/scripts/setup-vim.sh
2019-08-31 06:47:50 +00:00
docker
------------
2020-11-23 19:45:00 +00:00
Install and configure Docker and Docker Compose on a new Ubuntu host using Ansible.
2019-08-31 06:47:50 +00:00
2020-11-23 19:45:00 +00:00
fail2ban
2019-08-31 06:47:50 +00:00
------------
2020-11-23 19:45:00 +00:00
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.
2019-08-31 06:47:50 +00:00
2020-06-12 04:35:55 +00:00
2020-11-23 19:45:00 +00:00
nginx
2020-06-12 04:35:55 +00:00
------------
2020-11-23 19:45:00 +00:00
Install and configure nginx on a new Ubuntu host using Ansible. Supports templates for index.html and custom nginx.conf
2020-06-12 04:35:55 +00:00
2020-11-23 19:45:00 +00:00
postfix
2020-06-12 04:35:55 +00:00
------------
2020-11-23 19:45:00 +00:00
Install and configure the postfix MTA on a new Ubuntu host using Ansible. Supports templates for main.cf and custom sasl_passwd
2020-06-12 04:35:55 +00:00