klips/ansible
Shaun Reed ad91b3b892 Add hexo playbooks for install and backups 2020-05-09 04:30:35 +00:00
..
roles Add postfix ansible roll 2020-04-23 01:44:57 +00:00
README.md Remove old info in READMEs 2020-04-26 22:28:49 -04:00
apt-up.yml Ansible nginx role using ansible-galaxy 2019-08-18 03:18:41 +00:00
core.yml Add general core server configuration 2019-08-29 09:35:19 +00:00
docker.yml Update example playbooks for using new roles 2019-08-29 07:37:55 +00:00
fail2ban.yml Add nginx role for ansible, example playbooks 2020-04-20 13:20:36 +00:00
hexo-bak.yml Add hexo playbooks for install and backups 2020-05-09 04:30:35 +00:00
hexo-install.yml Add hexo playbooks for install and backups 2020-05-09 04:30:35 +00:00
hosts Add example playbook for using multiple roles together 2019-08-29 09:48:53 +00:00
make-host.yml Update core, docker, nginx roles 2020-04-15 23:03:42 +00:00
nginx.yml Add nginx role for ansible, example playbooks 2020-04-20 13:20:36 +00:00
postfix.yml Add postfix ansible roll 2020-04-23 01:44:57 +00:00

README.md

Ansible

A few simple roles / plays I've been able to piece together in learning how to use Ansible.

Playbooks

  • apt-up.yml - Playbook to update servers / groups ad hoc
  • core.yml - Playbook example for using core configuration role
  • docker.yml - Playbook example for using docker install role (Debian / Ubuntu)
  • hosts - Sample / partially default ansible hosts file
  • make-host.yml - Playbook example for using multiple roles together to create a new host
  • nginx.yml - Playbook example for using nginx role
  • fail2ban.yml - Playbook example for using fail2ban role
  • postifx.yml - Playbook example for using postfix role

Roles

  • Basic ansible role created with ansible-galaxy command
  • 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)
  • nginx - Role to install and configure a new nginx webserver on a host
  • fail2ban - Role to install and configure fail2ban on a new host
  • postfix - Role to install and configure postfix on a new host