netz39-infra-ansible/roles
Alexander Dahl 58e27dec10 🐛 Use bash as shell in cron jobs to make process substitution work
The cron jobs were executed, but dash (/bin/sh) complained, and so the
actual command was never run.  This is why our dyndns update did not
work through cron, but when executed manually in bash by an admin.

Example for such a fail when done manually in sh:

    # echo test3 > >(/usr/bin/logger -p user.debug -t dd24)
    /bin/sh: 7: Syntax error: redirection unexpected

Process substitution with `>(command)` is a feature supported by bash
and other shells, but not by POSIX shell which was supposed to used here
(set by `SHELL=…`).  Instead of building complicated redirect magic for
sh just switch to bash, which should be available on the hosts affected.

Link: https://www.shellcheck.net/wiki/SC3001
Fixes: 03dbd132eb ("🔊 Send DD24 cron errors to syslog")
Fixes: 38fbff30b5 ("feat: add role to manage dyndns entry on desec.io")
2025-02-27 14:03:18 +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 🐛 Use bash as shell in cron jobs to make process substitution work 2025-02-27 14:03:18 +01:00
desec_dyndns_cron 🐛 Use bash as shell in cron jobs to make process substitution work 2025-02-27 14:03:18 +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