Sure: #!/usr/bin/env bash # {{ ansible_managed|comment }} TAG="[reboot] `hostname` started `date -Iseconds` - `uptime`" curl -d "$TAG" -H "Tags: arrows_counterclockwise,homelab" {{ debian_reboot_ntfy_url | to_json }}