Packer.Images/ansible/roles/firstboot/templates/firstboot.j2

5 lines
197 B
Django/Jinja

#!/bin/bash
# Apply firstboot configuration w/ ansible
/usr/local/bin/ansible-playbook -e "PYTHONUNBUFFERED=1" /opt/firstboot/ansible/playbook.yml | tee -a /var/log/firstboot.log > /dev/tty1 2>&1