View terraform-destroy.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform destroy -auto-approve | |
2018/07/10 22:58:01 [INFO] Terraform version: 0.11.7 | |
2018/07/10 22:58:01 [INFO] Go runtime version: go1.10.1 | |
2018/07/10 22:58:01 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.7/bin/terraform", "destroy", "-auto-approve"} | |
2018/07/10 22:58:01 [DEBUG] Attempting to open CLI config file: /Users/metmajer-bi/.terraformrc | |
2018/07/10 22:58:01 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/07/10 22:58:01 [INFO] CLI command args: []string{"destroy", "-auto-approve"} | |
2018/07/10 22:58:01 [TRACE] module source: "github.com/metmajer/terraform-aws-ec2" | |
2018/07/10 22:58:01 [INFO] command: empty terraform config, returning nil |
View wait-for-cmd.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
WAIT_CMD=$1 | |
WAIT_TIME_S=${2:-10} | |
WAIT_INTERVAL_S=${WAIT_INTERVAL_S:-1} | |
WAIT_NUM_LOOPS=$(($WAIT_TIME_S / $WAIT_INTERVAL_S)) | |
if [ $WAIT_INTERVAL_S -gt $WAIT_TIME_S ]; then | |
echo "Error: \$WAIT_INTERVAL_S must be <= \$WAIT_TIME_S" | |
exit 1 | |
fi |
View playbook.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: dynatrace-server | |
roles: | |
- role: Dynatrace.Dynatrace-Server | |
dynatrace_server_do_pwh_connection: yes | |
dynatrace_server_pwh_connection_hostname: dynatrace-pwh | |
dynatrace_server_pwh_connection_port: 5432 | |
dynatrace_server_pwh_connection_dbms: postgresql | |
dynatrace_server_pwh_connection_database: dynatrace-pwh | |
dynatrace_server_pwh_connection_username: dynatrace |
View agentpath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-agentpath:/opt/dynatrace/agent/lib/libdtagent.so=name=java-agent,collector=dynatrace.company.com |
View README.md
Ansible Logging To Elasticsearch
Turns Ansible log outputs into plain JSON strings and sends them to an Elasticsearch cluster.
Place the script in your playbook's plugins/callbacks/ directory.
View README.md
Zoomable Sunburst with Labels
View README.md
Simple time series data modeling composed of a trend, seasonality and random component with dataseries.js.