master
Sven Ketelsen 4 years ago
parent d7e92c315c
commit 0c4dfeca81

@ -5,7 +5,7 @@
# stage := the name of the stage (e.g. dev, int, qa, prod)
# tenant_id := (unique key for the tenant, e.g. customer)
# cluster_name := (business name for the cluster, e.g. product, department )
# cluster_services := (services to setup, e.g. ['connect', 'wordpress', ...])
# cluster_features := (services to setup, e.g. ['connect', 'wordpress', ...])
# service_state := the state of the service (e.g. up, down, upgrade)
# smardigo message callback
# scope_id := (scope id of the management process)

@ -1,6 +1,6 @@
---
# Example call:
# poetry run ansible-playbook upload-database-dumb.yml --ask-vault-pass -e "cluster_name='maria' cluster_size='1' stage='dev' upload_file='dumps/import.sql' uploaded_file='import.sql'
# ansible-playbook upload-database-dumb.yml --ask-vault-pass -e "cluster_features=['connect',...] cluster_size='1' stage='dev' upload_file='dumps/import.sql' uploaded_file='import.sql'
# How this stuff works:
# If `upload_file` is defined the upload role save the binary to `upload_directory` (default /tmp)
@ -10,16 +10,9 @@
# Parameters:
# playbook inventory
# stage := the name of the stage (e.g. dev, int, qa, prod)
# tenant_id := (unique key for the tenant, e.g. customer)
# cluster_name := (business name for the cluster, e.g. product, department )
# cluster_size := (WIP node count for the cluster)
# cluster_services := (services to setup, e.g. ['connect', 'wordpress', ...])
# cluster_features := (services to setup, e.g. ['connect', 'wordpress', ...])
# upload_file := the local file to upload (e.g. dumps/wordpress_portal.sql)
# database_backup_file := the dump file to import (e.g. wordpress_portal.sql)
# smardigo message callback
# scope_id := (scope id of the management process)
# process_instance_id := (process instance id of the management process)
# smardigo_management_action := (smardigo management action anme of the management process)
#############################################################
# Creating inventory dynamically for given parameters

Loading…
Cancel
Save