fix whitespace for multiple hypervisors

This commit is contained in:
Josh Patterson
2025-05-02 11:32:03 -04:00
parent 26d7ceebb2
commit a167e5e520

View File

@@ -3,10 +3,8 @@
https://securityonion.net/license; you may not use this file except in compliance with the https://securityonion.net/license; you may not use this file except in compliance with the
Elastic License 2.0. #} Elastic License 2.0. #}
{#- https://docs.saltproject.io/en/latest/topics/cloud/misc.html #}
{%- for role, hosts in HYPERVISORS.items() %} {%- for role, hosts in HYPERVISORS.items() %}
{%- for host in hosts.keys() -%} {%- for host in hosts.keys() %}
sool9-{{host}}: sool9-{{host}}:
provider: kvm-ssh-{{host}} provider: kvm-ssh-{{host}}
@@ -20,10 +18,6 @@ sool9-{{host}}:
minion: minion:
master: {{ grains.host }} master: {{ grains.host }}
master_port: 4506 master_port: 4506
#startup_states: sls
#sls_list:
# - setup.virt.initial_schedule
# - setup.virt.setHostname
use_superseded: use_superseded:
- module.run - module.run
features: features:
@@ -52,7 +46,6 @@ sool9-{{host}}:
- | - |
salt-call state.apply setup.virt \ salt-call state.apply setup.virt \
pillar='{"host": {"mainint": "enp1s0"}}' pillar='{"host": {"mainint": "enp1s0"}}'
# grains to add to the minion
{%- endfor %} {%- endfor %}
{%- endfor %} {%- endfor %}