--- # Set up apt # Ubuntu runs an apt update process that will run on first boot from image. # This is of questionable value when the machines are only going to live for a few minutes. # If you leave them on they will run the process daily. # Also we have seen the update process create a 'defunct' process which then throws off Weave Net smoke-test checks. # So, we override the 'persistent' setting so it will still run at the scheduled time but will not try to catch up on first boot. - name: copy apt daily override copy: src=apt-daily.timer.conf dest=/etc/systemd/system/apt-daily.timer.d/