mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
ensure image is readded if removed
This commit is contained in:
@@ -16,6 +16,12 @@
|
|||||||
include:
|
include:
|
||||||
- libvirt.packages
|
- libvirt.packages
|
||||||
|
|
||||||
|
# Remove hash file if image isn't present. This will allow for the image to redownload and initialize.
|
||||||
|
remove_sha256_sool9:
|
||||||
|
file.absent:
|
||||||
|
- name: /nsm/libvirt/images/sool9/sool9.sha256
|
||||||
|
- unless: test -f /nsm/libvirt/images/sool9/sool9.qcow2
|
||||||
|
|
||||||
# Manage SHA256 hash file
|
# Manage SHA256 hash file
|
||||||
manage_sha256_sool9:
|
manage_sha256_sool9:
|
||||||
file.managed:
|
file.managed:
|
||||||
|
|||||||
Reference in New Issue
Block a user