Skip to content

refactor: Molecule testing, handlers, Tinkey version guard, README#2

Open
Azerkyz wants to merge 4 commits into
mainfrom
refactor
Open

refactor: Molecule testing, handlers, Tinkey version guard, README#2
Azerkyz wants to merge 4 commits into
mainfrom
refactor

Conversation

@Azerkyz

@Azerkyz Azerkyz commented Mar 20, 2026

Copy link
Copy Markdown
  • Add Molecule test suite (standalone & HA) for Stream 2.1.7: MongoDB user creation via docker exec, AKKA discovery checks, KMS env var lookups
  • Add become: true to all systemd handlers (postfix, stream)
  • Add notify to config template tasks (etc_default_stream, hosts_allowed, http.conf, https.conf)
  • Add Tinkey/Tink env vars version guard — only rendered for Stream >= 2.1.7
  • Add stream_extra_allowed_hosts support in hosts_allowed.j2
  • Update README: Evertrust branding, KMS section, correct variable tables
  • Add stream.env.example with all required environment variables
  • Fix tests/uninstall.yml: hosts stream_nodes, boolean values
  • Update .gitignore: track *.env.example, ignore *.env

Alex Xu added 2 commits November 27, 2025 10:57
- Introduced Molecule scenarios for preparing and verifying Stream nodes and MongoDB.
- Created `prepare.yml` to ensure system readiness before deployment.
- Added `verify.yml` to validate installation and configuration of Stream and MongoDB.
- Updated `requirements.yml` to include necessary Ansible collections.
- Enhanced `config.yml` with checks for Stream installation and license file handling.
- Implemented firewall configuration in `firewall.yml` to manage service access.
- Refactored tasks to improve clarity and maintainability, including dynamic inventory script for cluster deployment.
- Added uninstall playbook to cleanly remove Stream and its dependencies.
… and README update

- Add Molecule test suite: prepare.yml with MongoDB user creation via docker exec,
  verify.yml with AKKA discovery checks (loop-based for Ansible 2.17+ compat),
  collections.yml, updated molecule.yml with KMS env var lookups
- Add become: true to all systemd handlers (postfix, stream)
- Add notify to config template tasks (etc_default_stream, hosts_allowed, http.conf, https.conf)
- Add Tinkey/Tink env vars version guard (only rendered for Stream >= 2.1.7)
- Add stream_extra_allowed_hosts support in hosts_allowed.j2
- Update README: Evertrust branding, KMS section, correct variable tables
- Add stream.env.example with all required environment variables
- Fix tests/uninstall.yml: hosts stream_nodes, boolean values
- Update .gitignore: track *.env.example, ignore *.env
@Azerkyz Azerkyz requested a review from ArcRiiad March 20, 2026 13:01
@Azerkyz Azerkyz self-assigned this Mar 20, 2026
Alex Xu added 2 commits April 1, 2026 09:48
…cript

- Use the proper Ansible module for SELinux instead of running a command
- Secret keys are now required, the role fails if they are missing
- Fixed the uninstall script to properly clean up all files and services
- Updated inventory group name from stream_cluster to stream_nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant