image: run ansible-poll at first startup
authorKristof Provost <kp@FreeBSD.org>
Fri, 5 May 2023 07:49:52 +0000 (09:49 +0200)
committerKristof Provost <kp@FreeBSD.org>
Fri, 5 May 2023 07:49:52 +0000 (09:49 +0200)
commit53d7407ebdae8eb9c79ca2486a3ab52dd6f2c5c6
tree4b6a69f90644d4257d11251bbda48042f6d8a0ff
parent781a4fbf827ac1766e534b736ae213f631107d74
image: run ansible-poll at first startup

Ensure we don't have to wait an hour for cron to trigger the first pull.
Immediately start configuring the system at first boot.

We run twice, to make sure we've set the hostname and then applied the
per-host configuration.
image/overlay/domotica/etc/rc.d/ansibleprep
image/overlay/domotica/home/kp/bin/ansible_poll