Files
ansible-tasks/umami.db.nodejs.git.yml
2026-03-15 16:04:42 +01:00

23 lines
779 B
YAML

---
# Setup Umami
#
# Run:
# ansible-playbook -i inventory/hosts tasks/umami.db.yml
#
# Prepare:
# See readme.md and init your workspace
# This playbook will setup the database for Umami, which is required before installing Umami itself.
# It will install Git and Node.js, then clone the Umami repository, set up the database variables, and finally set up the database itself.
# Note: The Umami role will be run twice, first to set up the database variables and then to set up the database itself. This is necessary because the database variables need to be set before the database can be set up.
- hosts: all
gather_facts: true
roles:
- role: lsa.git
- role: lsa.nodejs
- role: lsa.umami
tasks_from: db-vars.yml
- role: lsa.db
- role: lsa.umami