Cleanup files, add comments
This commit is contained in:
@@ -11,9 +11,11 @@ Playbooks
|
||||
- nginx.yml - Playbook example for using nginx role
|
||||
- fail2ban.yml - Playbook example for using fail2ban role
|
||||
- postifx.yml - Playbook example for using postfix role
|
||||
- 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
|
||||
|
||||
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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- hosts: plumbi
|
||||
- hosts: nginx-server
|
||||
become: yes
|
||||
roles:
|
||||
- fail2ban
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- hosts: hexo
|
||||
- hosts: dev
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Backup Hexo files
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Install Hexo static site generator
|
||||
hosts: hexo
|
||||
hosts: dev
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Update apt sources and install npm
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- hosts: plumbi
|
||||
- hosts: nginx-server
|
||||
become: yes
|
||||
roles:
|
||||
- nginx
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- hosts: core
|
||||
- hosts: nginx-server
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Ensure package lists are up-to-date
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- hosts: bookstack
|
||||
- hosts: docker-host
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Create backup directory if it doesn't exist
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- hosts: hexo
|
||||
- hosts: dev
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Backup Hexo files
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Install Hexo static site generator
|
||||
hosts: hexo
|
||||
hosts: dev
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Update apt sources and install npm
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- hosts: plumbi
|
||||
- hosts: othergroup
|
||||
become: yes
|
||||
roles:
|
||||
- postfix
|
||||
|
||||
@@ -41,3 +41,16 @@ nginx
|
||||
|
||||
A simple role for installing and configuring nginx on a new Ubuntu host using Ansible. Supports templates for index.html and custom nginx.conf
|
||||
|
||||
|
||||
postfix
|
||||
------------
|
||||
|
||||
A simple role for installing and configuring the postfix MTA on a new Ubuntu host using Ansible. Supports templates for main.cf and custom sasl_passwd
|
||||
|
||||
|
||||
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.
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- hosts: core
|
||||
- hosts: dev
|
||||
become: yes
|
||||
roles:
|
||||
- core
|
||||
|
||||
Reference in New Issue
Block a user