Different tasks added

This commit is contained in:
2026-03-15 16:04:42 +01:00
parent 5746267ed1
commit e82e73e13f
62 changed files with 935 additions and 0 deletions

24
umami.dbexport.yml Normal file
View File

@@ -0,0 +1,24 @@
---
# Setup Umami
#
# Run:
# ansible-playbook -i inventory/hosts tasks/umami.db.yml
#
# Prepare:
# See readme.md and init your workspace
# This playbook will export the database for Umami. It will fetch the database dump from the remote host and save it to the specified destination.
- hosts: all
gather_facts: true
pre_tasks:
- name: Build DB vars from umami_sites
include_role:
name: lsa.umami
tasks_from: db-vars.yml
vars:
postgres_dump_fetch: true
postgres_dump_fetch_dest: "{{ __postgres_dump_fetch_dest | default ('inventories/client/files/sql/') }}"
roles:
- role: lsa.db
tasks:
- include_tasks: /etc/ansible/roles/lsa.db/tasks/postgres/export.yml