diff --git a/playbooks/check_azure_oauth_token.yml b/playbooks/check_azure_oauth_token.yml index 2657669..4d1b872 100644 --- a/playbooks/check_azure_oauth_token.yml +++ b/playbooks/check_azure_oauth_token.yml @@ -40,22 +40,3 @@ object_name: "azure_oauth_token" check_command: "azure_oauth_token" check_interval: 50m - -# EXAMPLES -## used for service_apply -# - name: "Icinga_service_apply_azure" -# include_role: -# name: "telekom_mms.icinga_director.ansible_icinga" -# tasks_from: "icinga_service_apply" -# vars: -# icinga_service_applies: -# - service_apply_object: -# - "azure_oauth_token-service_apply" -# imports: "azure_oauth_token" -# display_name: "azure_oauth_token" -# assign_filter: "{{'host.name=\"azure\"'}}" -# vars: -# tenant_id: "ID" -# client_id: "ID" -# client_secret: "secret" -# scope: "https://management.azure.com/.default" diff --git a/playbooks/check_gitlab_scheduler.yml b/playbooks/check_gitlab_scheduler.yml index a4d84e3..deacd07 100644 --- a/playbooks/check_gitlab_scheduler.yml +++ b/playbooks/check_gitlab_scheduler.yml @@ -32,21 +32,3 @@ object_name: check_gitlab_scheduler check_command: "check_gitlab_scheduler" check_interval: 5m - -# EXAMPLES -## used for service_apply -# - name: "Icinga_service_apply_azure" -# include_role: -# name: "telekom_mms.icinga_director.ansible_icinga" -# tasks_from: "icinga_service_apply" -# vars: -# icinga_service_applies: -# - service_apply_object: -# - "check_gitlab_scheduler-service_apply" -# imports: "check_gitlab_scheduler" -# display_name: "check_gitlab_scheduler_pipelinename" -# assign_filter: "{{'host.name="gitlab-pipelines"'}}" -# vars: -# projectid: "111" -# schedulerid: "222" -# token: "{{ gitlab_project_token }}" diff --git a/playbooks/check_json.yml b/playbooks/check_json.yml index 0fd21c6..e55b8f2 100644 --- a/playbooks/check_json.yml +++ b/playbooks/check_json.yml @@ -40,23 +40,3 @@ type: Function body: macro("$json_warn$") -x: $json_xauth$ - -# EXAMPLES -## used for service_apply -# - name: "Icinga_service_apply_azure" -# include_role: -# name: "telekom_mms.icinga_director.ansible_icinga" -# tasks_from: "icinga_service_apply" -# vars: -# icinga_service_applies: -# - service_apply_object: -# - "{{ object_name }}-service_apply" -# imports: "domon-json" -# display_name: "{{ object_name }}" -# assign_filter: "{{'host.name=\"azure\"'}}" -# vars: -# json_url: "https://api/xxx" -# json_attributes: '{state}' -# json_expect: Online -# json_ignoressl: true -# json_outputvars: '{state}' diff --git a/playbooks/check_json_azure_restapi.yml b/playbooks/check_json_azure_restapi.yml index 3950ef2..f9fb467 100644 --- a/playbooks/check_json_azure_restapi.yml +++ b/playbooks/check_json_azure_restapi.yml @@ -42,23 +42,3 @@ type: Function body: macro("$json_warn$") -x: $json_xauth$ - -# EXAMPLES -## used for service_apply -# - name: "Icinga_service_template_azure" -# include_role: -# name: "telekom_mms.icinga_director.ansible_icinga" -# tasks_from: "icinga_service_apply" -# vars: -# icinga_service_applies: -# - service_apply_object: -# - "azure_restapi-service_apply" -# imports: "domon-json-azure-restapi" -# display_name: "azure_restapi" -# assign_filter: "{{'host.name=\"azure\"'}}" -# vars: -# json_url: "https://management.azure.com/subscriptions/xxx" -# json_attributes: '{properties}->{state}' -# json_expect: Ready -# json_ignoressl: true -# json_outputvars: '{properties}->{state}'