hypervisor highstate after image creation, not when key accepted

This commit is contained in:
m0duspwnens
2025-01-16 11:13:36 -05:00
parent e8546b82f8
commit 0e0fb885d2
4 changed files with 94 additions and 4 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
{% if data['act'] == 'accept' and data['id'].endswith(('_hypervisor', '_managerhyper')) and data['result'] == True %}
check_and_trigger:
runner.setup_hypervisor.setup_environment: []
runner.setup_hypervisor.setup_environment:
- kwargs:
minion_id: {{ data['id'] }}
{% endif %}