Complete ansible playbook to provision and deploy nodemation to a Digital Ocean droplet.
This project created to be a one step playbook to deploy new nodemation instances to DigitalOcean using Ansible.
I wanted to:
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
Edit group_vars/n8n/vars.yml
with your values, Specifically update:
Edit hosts
and insert the IP address of your newly minted Digital Ocean Droplet (Ubuntu 22.04.3 LTS x64)
Point the domain you added to group_vars/n8n/vars.yml
to the IP address you added to the hosts
file. [Cloudflare DNS] (https://dash.cloudflare.com/)
Note: you will need to have cloudflare NOT proxy the domain (Orange Cloud => Grey Cloud).
Run ansible-galaxy install -r requirements.yml
to install the galaxy roles used by the playbook.
ansible-playbook main.yml
to install all of dependancies onto the server & deploy the project on the server
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