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

5 lines
197 B
Plaintext
Raw Normal View History

2021-06-08 19:56:06 +00:00
#!/bin/bash
2021-06-09 20:11:06 +00:00
# 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