Ansible playbooks for Digital Ocean host
Go to file
Amritanshu Agrawal f26261fb99 Updated the gitea playbook for ssh passthrough. Still not fully there though. 2021-08-24 09:14:15 +05:30
bifrost Bifrost deployed using ansible 2020-05-04 17:04:09 +05:30
bitwarden Updated bitwarden 2021-08-18 09:17:10 +05:30
brewman New: 2020-10-17 12:27:59 +05:30
gitea Updated the gitea playbook for ssh passthrough. Still not fully there though. 2021-08-24 09:14:15 +05:30
grav New: 2020-10-17 12:29:51 +05:30
mongodb Mongodb 2020-05-04 17:05:08 +05:30
nextcloud Added: Readme 2020-04-20 18:13:06 +05:30
postgres Fix: 2020-10-17 12:28:18 +05:30
rabbitmq New: 2020-10-17 12:28:36 +05:30
redis Redis will only listen on the 127.0.0.1 and not remote connections. 2021-08-18 09:18:30 +05:30
snibox New: 2020-10-17 12:28:52 +05:30
trilium Added: Readme 2020-04-20 18:13:06 +05:30
wekan Wekan deployed using ansible 2020-05-04 17:04:48 +05:30
.gitignore Initial rough commit to save the code before cleanup 2020-04-03 09:24:02 +05:30
README.md Added: Readme 2020-04-20 18:13:06 +05:30

README.md

DO Community - Ansible Playbooks

A collection of minimalist Ansible playbooks for automating server setups, based on DigitalOcean's Community guides.

*the Initial Server Setup should be your starting point for fresh servers.

Playbook Structure

The playbooks contained in this repository were created for educational purposes, and should serve as a base for you to create your own playbooks and roles.

Although we opt to not use roles, our playbooks follow a distinctive structure to facilitate reuse while keeping them mostly self-contained and straightforward.

For instance, this is how the lemp playbook is structured:

lemp_ubuntu1804
├── files
│   ├── info.php.j2
│   └── nginx.conf.j2
├── vars
│   └── default.yml
├── playbook.yml
└── readme.md
  • files/: directory containing templates and other files required by the playbook.
  • vars/: directory to save variable files. A default.yml var file is included by default.
  • playbook.yml: the playbook file.
  • readme.md: instructions and links related to this playbook.

Getting Started

To set up your Ansible environment, please follow our guide on How to Install and Configure Ansible on Ubuntu 18.04.

Connection Test

From your local machine or Ansible control node, run:

ansible all -m ping -u remote_user

If you're able to get a "pong" reply back from your node(s), your setup works as expected and you'll be able to run both ad-hoc commands and playbooks on your nodes, using Ansible.

Guides

The following guides cover how to use the playbooks you'll find in this repository.

Initial Server Setup

Once you have executed the initial server setup, you can choose from any of the available server setup playbooks:

Web Servers

Applications & CMSs

Containers & K8s