mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +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 %}
|
{% 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
|
# Hypervisor environment is already set up, include the necessary states
|
||||||
include:
|
include:
|
||||||
|
- hypervisor
|
||||||
- libvirt
|
- libvirt
|
||||||
- libvirt.images
|
- libvirt.images
|
||||||
- hypervisor
|
|
||||||
|
|
||||||
hypervisor_setup_verified:
|
hypervisor_setup_verified:
|
||||||
test.succeed_without_changes:
|
test.succeed_without_changes:
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
{% if vm_name and hypervisor and timestamp and status and tag %}
|
{% if vm_name and hypervisor and timestamp and status and tag %}
|
||||||
write_vm_status:
|
write_vm_status:
|
||||||
salt.state:
|
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
|
- tgt_type: compound
|
||||||
- sls:
|
- sls:
|
||||||
- soc.dyanno.hypervisor.write_status
|
- soc.dyanno.hypervisor.write_status
|
||||||
@@ -106,7 +106,7 @@ write_vm_status:
|
|||||||
# Update hypervisor status
|
# Update hypervisor status
|
||||||
update_hypervisor_annotation:
|
update_hypervisor_annotation:
|
||||||
salt.state:
|
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
|
- tgt_type: compound
|
||||||
- sls:
|
- sls:
|
||||||
- soc.dyanno.hypervisor
|
- soc.dyanno.hypervisor
|
||||||
|
|||||||
Reference in New Issue
Block a user