mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
include managerhype in orch. run hypervisor state before libvirt states
This commit is contained in:
@@ -28,9 +28,9 @@
|
||||
{% if ssh_user_exists and ssh_keys_exist and base_image_exists and vm_files_exist and hypervisor_host_dir_exists %}
|
||||
# Hypervisor environment is already set up, include the necessary states
|
||||
include:
|
||||
- hypervisor
|
||||
- libvirt
|
||||
- libvirt.images
|
||||
- hypervisor
|
||||
|
||||
hypervisor_setup_verified:
|
||||
test.succeed_without_changes:
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
{% if vm_name and hypervisor and timestamp and status and tag %}
|
||||
write_vm_status:
|
||||
salt.state:
|
||||
- tgt: 'G@role:so-manager or G@role:so-managersearch or G@role:so-standalone or G@role:so-eval'
|
||||
- tgt: 'G@role:so-manager or G@role:so-managerhype or G@role:so-managersearch or G@role:so-standalone or G@role:so-eval'
|
||||
- tgt_type: compound
|
||||
- sls:
|
||||
- soc.dyanno.hypervisor.write_status
|
||||
@@ -106,7 +106,7 @@ write_vm_status:
|
||||
# Update hypervisor status
|
||||
update_hypervisor_annotation:
|
||||
salt.state:
|
||||
- tgt: 'G@role:so-manager or G@role:so-managersearch or G@role:so-standalone or G@role:so-eval'
|
||||
- tgt: 'G@role:so-manager or G@role:so-managerhype or G@role:so-managersearch or G@role:so-standalone or G@role:so-eval'
|
||||
- tgt_type: compound
|
||||
- sls:
|
||||
- soc.dyanno.hypervisor
|
||||
|
||||
Reference in New Issue
Block a user