mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-09 14:09:58 +01:00
use .get since repo may not exist
This commit is contained in:
1 file changed
+1
-1
@@ -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