Different tasks added
This commit is contained in:
24
umami.dbexport.yml
Normal file
24
umami.dbexport.yml
Normal 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
|
||||
Reference in New Issue
Block a user