OpenSearch, One Node Proven By An Index And A Search

OpenSearch 3 (sha512-verified min distribution, bundled JDK), one node on EL 10 from the upstream release, as a hardened systemd service on loopback; the live test reads the root document, indexes one document with a refresh, finds it by a search, deletes the index and checks the keystore belongs to the service; the release tree stays read-only. Original role, live-tested on Rocky Linux 10.

ansibleDatabases

Verification

Live-tested

Really deployed to a container sandbox, proven idempotent (a second run changes nothing), verified against the role’s assertions, then torn down.

Conformance

  • Static validation (yamllint · ansible-lint)

Provenance

  • SHA-256 checksum
  • Signature (pending)

Functional

  • Live-tested - applied, verified, destroyed

Last verified 2026-09-21 · podman 4.9.3 · ansible 2.21.4 · how we verify

Cite it in your README

badge · attribution

Paste this beside the module in the repository that uses it. The badge is rendered from this artifact's verification record, so it reads live-tested because the record says so, and the link lands on this page.

README.md, GitLab, Gitea
[![IaC Bazaar: live-tested](https://www.iac-bazaar.com/api/artifacts/ansible-opensearch/badge)](https://www.iac-bazaar.com/catalog/ansible-opensearch?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)

Ansible role 1.0.0, live-tested on IaC Bazaar: [OpenSearch, One Node Proven By An Index And A Search](https://www.iac-bazaar.com/catalog/ansible-opensearch?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)

```yaml
# OpenSearch, One Node Proven By An Index And A Search: https://www.iac-bazaar.com/catalog/ansible-opensearch (download from your IaC Bazaar account)
```

Preview:IaC Bazaar: live-tested

Documentation

opensearch

OpenSearch from the upstream min distribution (sha512-verified against the file published beside it; the engine with its bundled JDK and no plugin bundle), one node on loopback with its data, logs and keystore outside the root-owned release tree, as a hardened system service. Original role for EL 10, live-tested with podman on Rocky Linux 10.

No package, and the release is run in place. EL 10 carries no OpenSearch; the project publishes a .sha512 beside each tarball. This role downloads both, has Ansible's get_url refuse the tarball unless its SHA-512 is the published one, unpacks it under /usr/local/src root-owned and runs bin/opensearch from inside it with its bundled JDK: nothing is copied into the PATH.

A service account, a hardened unit, a loopback listener. opensearch is a system user with no shell that owns the data directory and nothing else; the unit runs with NoNewPrivileges, PrivateTmp, ProtectHome and ProtectSystem=strict. The listener is 127.0.0.1 by default, for a proxy that authenticates or a client on the same host; the live test reads the listening sockets and expects loopback only.

Proven by an index and a search. The live test waits for cluster health, reads the root document (this release), indexes one document with a refresh, searches it back (one hit, the document), deletes the index and checks that the keystore belongs to the service while the config directory does not.

The min distribution. No security plugin, no dashboards, no bundled plugins: a loopback node for the application beside it or for a proxy that authenticates in front (this catalogue's caddy-https or haproxy-tls). Paths that the vendor's jvm.options writes relative to the release tree (gc.log, the heap dump, the error file) are absolute here, which is what lets the tree stay read-only to the service.

License

Commercial - IaC Bazaar EULA. (c) IaC Bazaar.

Usage code & full reference need an account

The complete copy-paste usage, the full input/output reference, and operational notes are free with an account - shown here and bundled in the download. Sign in and this section fills in.

  • Variables
  • Test

Related modules

Live-tested

ansible-clickhouse

ClickHouse on EL 10 from the upstream LTS release (sha512-verified), as a hardened systemd service on loopback with the default user behind a password; the live test creates a MergeTree table, inserts a row and selects it back over HTTP; a query without credentials is refused. Original role, live-tested on Rocky Linux 10.

View module
Live-tested

ansible-dragonfly

Dragonfly on EL 10 from the vendor's release, pinned by a SHA-256 the role carries (the vendor publishes no checksum file), as a hardened systemd service on loopback behind a password kept in a flagfile; the live test speaks RESP itself: an unauthenticated PING and a wrong password are refused, AUTH + SET + GET round-trip. Original role, live-tested on Rocky Linux 10.

View module
Live-tested

ansible-influxdb3

InfluxDB 3 Core on EL 10 from the vendor's release (checksum-verified), as a hardened systemd service on loopback with file object storage; the binary runs from its release directory (it links the Python it ships); the live test writes a point in line protocol and reads it back with SQL. Original role, live-tested on Rocky Linux 10.

View module
Live-tested

ansible-mariadb-server

MariaDB bound to loopback (the package listens everywhere), with the mariadb-secure-installation steps applied by the role: anonymous users, the test database and remote root gone, LOAD DATA LOCAL off, reverse DNS off. Provisions an application database and a user that can see nothing else. Original role, live-tested on Rocky Linux 10.

View module
Live-tested

ansible-meilisearch

Meilisearch on EL 10 from the vendor's release, pinned by a SHA-256 the role carries (the vendor publishes no checksum file), as a hardened systemd service on loopback in production mode behind a master key; the live test creates an index and documents, waits for the indexing task, searches and finds the one match, and sees a keyless request refused. Original role, live-tested on Rocky Linux 10.

View module
Live-tested

ansible-pocketbase

PocketBase, the backend in one binary, from the upstream release (sha256-verified), a hardened system service on loopback, its data under one directory. The live test creates a superuser with PocketBase's own command, sees a wrong password refused, makes a collection and a record, reads it back, sees an anonymous read refused, deletes the collection. Original role, live-tested on Rocky Linux 10.

View module