Segment 6
In this sub-session, we committed Ansible deployment scripts for FGW clusters (7 roles, 5 playbooks, inventory structure) and built a comprehensive Docker-based test harness with a YugabyteDB container, three target hosts running Ubuntu 24.04 with systemd and SSH, and an Ansible controller container. Running the test suite revealed several issues that were iteratively fixed: the YB health check needed the correct hostname, the controller required `psql`, `cqlsh`, and `sshpass`, the test inventory was missing `group_vars` for kuri and s3_frontend, target volumes had read-only mount problems, and `pam_nologin` blocked SSH logins after container startup. The final fix involved editing the Kuri role to reorder tasks so that the `settings.env` file is placed before the `kuri init` step, ensuring database connection parameters are available during initialization.