From 5f8f5b7097ccc5243088a09abf7db98107b547dd Mon Sep 17 00:00:00 2001 From: Waldemar Smirnow Date: Fri, 31 Jan 2025 17:49:50 +0100 Subject: [PATCH] Ansible role properities should be prefixed with role name Ansible linter give you a warning about properties not prefixed with role name. This PR should address this issue. --- README.md | 4 ++-- defaults/main.yml | 4 ++-- templates/opensearch.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 89d9127..60070f7 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ This role supports the following, - `opencast_opensearch_heap_size` - Memory configuration (default: `1g`) - Might make sense to set this to `2g` for larger installations. -- `opensearch_api_host` +- `opencast_opensearch_api_host` - Defaults to `127.0.0.1`. -- `opensearch_api_port` +- `opencast_opensearch_api_port` - Defaults to `9200`. ## Dependencies diff --git a/defaults/main.yml b/defaults/main.yml index e4a6ad3..47ba593 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -3,7 +3,7 @@ opencast_opensearch_heap_size: 1g # Bind OpenSearch to this specific interface. -opensearch_api_host: 127.0.0.1 +opencast_opensearch_api_host: 127.0.0.1 # Bind OpenSearch to this specific port. -opensearch_api_port: 9200 +opencast_opensearch_api_port: 9200 diff --git a/templates/opensearch.yml b/templates/opensearch.yml index e499d28..6885e4a 100644 --- a/templates/opensearch.yml +++ b/templates/opensearch.yml @@ -1,7 +1,7 @@ cluster.name: "opensearch-cluster" node.name: "{{ inventory_hostname }}" -network.host: "{{ opensearch_api_host }}" -http.port: "{{ opensearch_api_port }}" +network.host: "{{ opencast_opensearch_api_host }}" +http.port: "{{ opencast_opensearch_api_port }}" discovery.type: single-node bootstrap.memory_lock: true plugins.security.disabled: true