summaryrefslogtreecommitdiff
path: root/base-image
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-04-28 18:57:13 +0300
committerLars Wirzenius <liw@liw.fi>2022-04-28 18:57:13 +0300
commit02731c9c29415ec3c041c7d4357f4a1481af051e (patch)
treedb23cf34d47e4dd93f56b25c365809f80574965c /base-image
parent5e976d214d0e507eab8651fca05a01c61aff8b23 (diff)
downloadansibleness-02731c9c29415ec3c041c7d4357f4a1481af051e.tar.gz
fix: remove /etc/machine-id so every new VM has a different one
Sponsored-by: author
Diffstat (limited to 'base-image')
-rw-r--r--base-image/base-image.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/base-image/base-image.yml b/base-image/base-image.yml
index 44357d7..312bdd5 100644
--- a/base-image/base-image.yml
+++ b/base-image/base-image.yml
@@ -1,5 +1,8 @@
- hosts: image
tasks:
+ - file:
+ path: /etc/machine-id
+ state: absent
- apt:
name:
- cloud-init