mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 22:08:33 +01:00
fix: misc fixes for docker deployments opensearch/logstash
This commit is contained in:
@@ -32,3 +32,12 @@
|
||||
loop: "{{ opensearch_data_nodes }}"
|
||||
loop_control:
|
||||
loop_var: node_name
|
||||
|
||||
- name: Deploy compose templates
|
||||
community.docker.docker_compose_v2:
|
||||
remove_orphans: true
|
||||
project_src: "/opt/{{ item }}/"
|
||||
pull: "missing"
|
||||
files:
|
||||
- "{{ item }}.yaml"
|
||||
with_items: "{{ opensearch_data_nodes + opensearch_dashboards }}"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
version: '3'
|
||||
services:
|
||||
opensearch-dashboards:
|
||||
restart: always
|
||||
image: opensearchproject/opensearch-dashboards:latest # Make sure the version of opensearch-dashboards matches the version of opensearch installed on other nodes
|
||||
container_name: opensearch-dashboards
|
||||
ports:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
version: '3'
|
||||
services:
|
||||
opensearch-{{ node_name }}:
|
||||
restart: always
|
||||
image: opensearchproject/opensearch:latest
|
||||
container_name: {{ node_name }}
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user