diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-04-28 18:57:13 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-04-28 18:57:13 +0300 |
commit | 02731c9c29415ec3c041c7d4357f4a1481af051e (patch) | |
tree | db23cf34d47e4dd93f56b25c365809f80574965c /base-image | |
parent | 5e976d214d0e507eab8651fca05a01c61aff8b23 (diff) | |
download | ansibleness-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.yml | 3 |
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 |