From 389c35bb05cdcbb5df276842a8bd4c63c4ece3be Mon Sep 17 00:00:00 2001 From: djpbessems Date: Thu, 10 Jun 2021 11:43:54 +0200 Subject: [PATCH] Add logging to firstboot.sh --- ansible/roles/firstboot/templates/firstboot.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/firstboot/templates/firstboot.j2 b/ansible/roles/firstboot/templates/firstboot.j2 index b4029b9..06eaeea 100644 --- a/ansible/roles/firstboot/templates/firstboot.j2 +++ b/ansible/roles/firstboot/templates/firstboot.j2 @@ -1,4 +1,4 @@ #!/bin/bash # Apply firstboot configuration w/ ansible -ansible-playbook /opt/firstboot/ansible/playbook.yml \ No newline at end of file +ansible-playbook /opt/firstboot/ansible/playbook.yml | tee -a /var/log/firstboot.log > /dev/tty1 \ No newline at end of file