From 0c4dfeca81e9c2280445468f0b4f3fe0c4a062b8 Mon Sep 17 00:00:00 2001 From: Sven Ketelsen Date: Mon, 7 Feb 2022 13:36:30 +0100 Subject: [PATCH] cleanup --- update-service-state.yml | 2 +- upload-database-dumb.yml | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/update-service-state.yml b/update-service-state.yml index 1eba0ed..ad215b0 100644 --- a/update-service-state.yml +++ b/update-service-state.yml @@ -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) diff --git a/upload-database-dumb.yml b/upload-database-dumb.yml index 4ff92eb..01f484a 100644 --- a/upload-database-dumb.yml +++ b/upload-database-dumb.yml @@ -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