2019-08-31 06:47:50 +00:00
|
|
|
# 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)
|
2019-08-31 07:01:59 +00:00
|
|
|
- hosts - Sample / partially default ansible hosts file
|
2019-08-31 06:47:50 +00:00
|
|
|
- make-host.yml - Playbook example for using multiple roles together to create a new host
|
|
|
|
- nginx.yml - Playbook example for using nginx role
|
2020-04-27 02:28:49 +00:00
|
|
|
- fail2ban.yml - Playbook example for using fail2ban role
|
|
|
|
- postifx.yml - Playbook example for using postfix role
|
2020-06-12 04:35:55 +00:00
|
|
|
- bookstack-backup.yml - Playbook example for taking a backup of BookStack
|
|
|
|
- hexo-backup.yml - Playbook example for taking a backup of Hexo
|
|
|
|
- hexo-install.yml - Playbook example to install and deploy the Hexo site generator
|
2019-08-31 06:47:50 +00:00
|
|
|
|
|
|
|
Roles
|
2019-08-31 07:08:24 +00:00
|
|
|
- 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
|
2020-04-27 02:28:49 +00:00
|
|
|
- fail2ban - Role to install and configure fail2ban on a new host
|
|
|
|
- postfix - Role to install and configure postfix on a new host
|
2019-08-31 06:47:50 +00:00
|
|
|
|