netz39-infra-ansible/roles
Alexander Dahl 338dfc7410 🔊 Redirect curl output to debug log
curl only logs its own errors to stderr with the given options (--silent
--show-error).  Requests answered by the remote webserver, regardless of
HTTP status code, go to stdout.  So in case of an unsuccesful update
with some error condition we could not see that before.  Redirect those
to debug log, because it's still quite noisy otherwise.

This adds 288 log messages per day and service to the debug log,
accounting to max. 30k per day and service, and thus should not hurt.

desec log output is only the word "good" in case of success.

dd24 full output would be this, and is thus reduced to the relevant
lines merged in one line:

    [RESPONSE]
    code = 200
    description = Command completed successfully
    runtime = 0.067
    queuetime = 0
    EOF

Sample journald entry:

    Feb 27 12:48:15 pottwal dd24[519651]: code = 200,description = Command completed successfully
2025-02-27 14:06:19 +01:00
..
apache 🐢 Show some appreciation 2022-11-22 18:49:39 +01:00
apache_letsencrypt fix: rename role apache-letsencrypt to resolve linter warnings 2022-10-24 22:22:35 +02:00
cleanuri 🚨 Fix trivial jinja spacing warnings 2025-02-20 06:43:59 +01:00
dd24_dyndns_cron 🔊 Redirect curl output to debug log 2025-02-27 14:06:19 +01:00
desec_dyndns_cron 🔊 Redirect curl output to debug log 2025-02-27 14:06:19 +01:00
nfs-host 🚨 Fix wrong indentation 2025-02-19 21:55:53 +01:00
nginx_https_ingress 🚨 Fix wrong indentation 2025-02-19 21:55:53 +01:00
setup-http-site-forward 🐛 Fix template for missing IPv6 on apache-docker-forward 2022-08-04 17:32:06 +02:00
setup_http_site_proxy Add option to set ProxyPreserveHost 2022-11-12 13:32:25 +01:00
users yamllint config and fixes 2020-12-28 22:53:53 +01:00