Uralsk deploy file

This commit is contained in:
fumingwei
2020-11-17 15:38:06 +06:00
parent 6d38d0400e
commit 7d0811e973
11 changed files with 594 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=simple
ExecStart=/opt/adc-exporter/systemd_exporter
ExecStart=/opt/adc-exporter/systemd_exporter --collector.unit-whitelist="(tsg-env|tfe-env|tfe|sapp|mrzcpd|certstore|cert-redis|maat-redis).service" --web.disable-exporter-metrics
Restart=always
[Install]

View File

@@ -1,6 +1,7 @@
- name: "tsg-diagnose: rsync badssl ca certs"
shell: rsync -avzP --delete 192.168.100.1::blade0toother /tmp/sync/
ignore_errors: true
- name: "tsg-diagnose: add badssl ca file to tfe tls-ca-bundle"
shell: cat /tmp/sync/ca-root.crt > /opt/tsg/tfe/resource/tfe/tsg_diagnose_ca.pem && cat /tmp/sync/wpr_cert.pem >> /opt/tsg/tfe/resource/tfe/tsg_diagnose_ca.pem
ignore_errors: true