Giter VIP home page Giter VIP logo

ansible-roles's Introduction

Ansible roles

Here are some Ansible roles I have built for my own use.

  • Requires Ansible 2.x
  • Expects Debian 9 hosts

Common

Common configurations including things like firewall, dns and ntp. I add this role to all my playbooks, hence the name.

Wrote a bit about it in My first 2 minutes on a server - letting Ansible do the work.

Common Pi

Common configurations for Raspberry Pi (Raspian) including things like firewall, dns and ntp. I add this role to all my Raspberry Pi playbooks, hence the name.

It uses busybox to log only to memory and disables swap. This should make the SD card last longer.

If used with "Security camera" below please remember to add the motion streaming port to the openports_list.

Letsencrypt

Create a Letsencrypt cert with the help of the acme-tiny script. Includes a cron script for automatic renewal.

Read more in my blog post Let's Encrypt my servers with acme tiny.

Mail server

A mail server built with postfix and dovecot. Support multiple domains and virtual mailboxes and aliases in a sql database. Administration via the postfix admin web interface.

Use together with the common and dbserver roles.

Provides a Apache vhost conf file as well but you need to install Apache separately.

Read more in by blog post Run your own mail server with Postfix and Dovecot.

Mail relay och MX backup

Creates servers for Mail relay och MX backup service using Debian 9 and Postfix.

Read more in my blog post Mail relay, MX backup and spam filtering with Postfix.

DB Server (MariaDB)

Database server with local backup. MariaDB is a drop in replacement for MySQL and is run by the people who originally created MySQL, before is was bought by Sun and then swallowed up by Oracle.

Security camera

Creates a security camera with a Raspberry Pi (Raspian), the Raspberry Pi Camera and Motion. Tested with Raspberry Pi 3 Model B and Zero W with the Raspberry Camera v2.

UniFi Controller

Run the UniFi Controller on a Raspberry Pi (Raspian). Tested with Raspberry Pi 3 Model B and since it's a Java application that needs som RAM I would not run in on anything smaller.

Remember to open up tcp ports 8080 and 8443 as well as udp port 3478 to allow the controller to communicate with the access points.

ansible-roles's People

Contributors

frjo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.