harbor run -t openthoughts/tasktrove-exp-flat25-stackoverflow-v2-5k-stackoverflow-1665harbor download openthoughts/tasktrove-exp-flat25-stackoverflow-v2-5k-stackoverflow-1665Title: How to build an Ansible role to provision Kapacitor with exact config and tasks for Pytest tests
Body: I'm building an Ansible role (e.g., named kapacitor) intended to provision a target host with InfluxData Kapacitor and configure it to satisfy a set of Pytest tests. I need guidance on a complete, idempotent implementation that works across common Linux distros (Ubuntu/Debian or RHEL/CentOS) using systemd, and is Molecule-test friendly.
What needs to be implemented
Kapacitor installation and service
Kapacitor configuration
Tick script files
Kapacitor tasks
Idempotence and id requirements
Environment and constraints
Acceptance criteria mapping to tests
Deliverables
If you have an example role skeleton or a complete role that satisfies these constraints (or constructive guidance on structuring the tasks, ensuring idempotence, and testing with Molecule), please share. Tags: ansible, kapacitor, molecule, testing, role