From 5dfc3a7813860725a46ca73ebe5d0bb152eaa265 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 29 Jun 2022 09:58:10 +0200 Subject: [PATCH] Redirect crontab output --- ansible/roles/firstboot/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/firstboot/tasks/main.yml b/ansible/roles/firstboot/tasks/main.yml index c933ca2..8af6a2c 100644 --- a/ansible/roles/firstboot/tasks/main.yml +++ b/ansible/roles/firstboot/tasks/main.yml @@ -15,7 +15,7 @@ ansible.builtin.cron: name: firstboot special_time: reboot - job: "/opt/firstboot/firstboot.sh" + job: "/opt/firstboot/firstboot.sh >/dev/tty1 2>&1" - name: Copy payload folder ansible.builtin.copy: