mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Improve error scenarios for user sync; Ensure user sync runs before Elastic container starts
This commit is contained in:
@@ -169,6 +169,14 @@ eslogdir:
|
||||
- group: 939
|
||||
- makedirs: True
|
||||
|
||||
# Must run before elasticsearch docker container is started!
|
||||
syncesusers:
|
||||
cmd.run:
|
||||
- name: so-user sync
|
||||
- creates:
|
||||
- /opt/so/conf/elasticsearch/users
|
||||
- /opt/so/conf/elasticsearch/users_roles
|
||||
|
||||
so-elasticsearch:
|
||||
docker_container.running:
|
||||
- image: {{ MANAGER }}:5000/{{ IMAGEREPO }}/so-elasticsearch:{{ VERSION }}
|
||||
|
||||
Reference in New Issue
Block a user