johnkraczek / n8n-ansible-install

Complete ansible playbook to provision and deploy nodemation to a Digital Ocean droplet.
MIT License
11 stars 6 forks source link

Nodemation on DigitalOcean with Ansible

Complete ansible playbook to provision and deploy nodemation to a Digital Ocean droplet.

Intro

This project created to be a one step playbook to deploy new nodemation instances to DigitalOcean using Ansible.

I wanted to:

How to setup the project

You need Ansible to start with this project. So go get it! I used ansible 2.9.10 for the project.

git clone https://github.com/johnkraczek/n8n-ansible-install.git

Install the galaxy roles:

Run ansible-galaxy install -r requirements.yml to install the galaxy roles used by the playbook.

Provision the server:

ansible-playbook main.yml

to install all of dependancies onto the server & deploy the project on the server

Additional Commands

Run this command to renew the certificate manually. The certificate renewal has been setup on a cronjob to run once every 2 months, The certificate expires every 3 months, giving you a month to fix certificate renewal issues if found.

ansible-playbook main.yml --tags=certificate