mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
use .get since repo may not exist
This commit is contained in:
@@ -324,7 +324,7 @@ so-elasticsearch:
|
||||
- /opt/so/conf/elasticsearch/users_roles:/usr/share/elasticsearch/config/users_roles:ro
|
||||
- /opt/so/conf/elasticsearch/users:/usr/share/elasticsearch/config/users:ro
|
||||
{% endif %}
|
||||
{% if ESCONFIG.path.repo %}
|
||||
{% if ESCONFIG.path.get('repo', False) %}
|
||||
{% for repo in ESCONFIG.path.repo %}
|
||||
- /nsm/elasticsearch/repo{{ repo }}:{{ repo }}:rw
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user