mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-19 05:19:35 +00:00
11 lines
598 B
YAML
11 lines
598 B
YAML
---
|
|
# 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/
|