mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
dont run booststrap-salt if the proper version is installed
This commit is contained in:
@@ -5,4 +5,9 @@
|
||||
|
||||
install_salt_minion:
|
||||
cmd.run:
|
||||
- name: yum versionlock delete "salt-*" && sh bootstrap-salt.sh -F -x python3 stable {{ saltversion }} && yum versionlock add "salt-*"
|
||||
{% if grains.saltversion != saltversion %}
|
||||
- name: yum versionlock delete "salt-*" && sh bootstrap-salt.sh -F -x python3 stable {{ saltversion }} && yum versionlock add "salt-*"
|
||||
{% else %}
|
||||
- name: echo 'Already running Salt Minon version {{ saltversion }}'
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user