Skip to content

Commit 370b188

Browse files
committed
Fixed ansible-init sentinel being created in packer build
1 parent cbcf762 commit 370b188

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ansible/cleanup.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,8 @@
3838

3939
- name: Cleanup /tmp
4040
command : rm -rf /tmp/*
41+
42+
- name: Delete ansible-init sentintel file created during build
43+
ansible.builtin.file:
44+
path: /var/lib/ansible-init.done
45+
state: absent

0 commit comments

Comments
 (0)