Deploy and validate one Linux pilot with Ansible Let's take the Linux service setup we just learned and make it repeatable with Ansible. By the end, you'll have deployed one restricted agent, checked that a second run changes nothing, and followed a real scan into the workspace. We're using the published Linux collection. Our controller and target share one isolated Ubuntu machine here, so this demonstrates local transport, not remote SSH authentication. Start with an individual TLS agent. Give it a name you can recognize in the fleet, then save its unique credential in your controller's protected secret store. Don't put that credential into a shared package or reuse it on another host. This pilot is allowed to inspect just QScan's public TLS endpoint. The agent still has its own identity even though Ansible handles installation. Now install the collection on the controller and look at the inventory. There's one host named Pilot under the Quantum Ready group. The local connection is deliberate for this lab. With a separate controller, you'd configure your approved SSH identity and privilege escalation instead. Keep the first rollout this small. A successful deployment to one machine gives you evidence to review before you increase the batch size. Here's the actual playbook. It uses the Linux agent role, runs one host at a time, and stops the rollout if a host fails. The installer checksum, agent version, release sequence, and signed release files are pinned. The configuration limits discovery to our approved endpoint. Notice that the credential is read from a protected local file. Its value is never written into this playbook or shown on screen. Run check mode before applying anything. It can preview the staging work without installing the service or copying the credential. There's an important limit here. If the release files haven't been staged yet, check mode can't prove that the installer will accept their signatures. Read the result as a preview, not a completed deployment. We'll apply the exact same reviewed inputs next where those checks actually happen. Now apply the playbook to Pilot. The role stages the approved inputs privately and calls the signed native installer. Discovery runs under a restricted service account even though installation needs administrator privileges. The role removes its temporary credential transport file afterward. Keep controller debug logging off and don't dump host variables. If a run is interrupted, inspect the installer's recovery diagnostics before you retry. Don't delete a recovery journal to force it through. Let's run that same playbook again. The recap shows zero changes, which tells us the installed release and running state already match this request. Then check the native service status and find the agent in the workspace. These are different checks. A healthy local service doesn't prove it can contact the control plane. We want the matching identity, recent contact, and the expected compiled runtime before submitting work. Queue a TLS scan for the one endpoint we authorized and select this pilot agent. The job view gives us the feedback loop: queued work, processing, and the final result. Ansible finishing successfully isn't the finish line for a discovery deployment. This job proves that the enrolled agent can receive an allowed task and return evidence. A failed job would be a reason to stop the rollout and inspect its diagnostic details. If the list still shows queued after the work finishes, use Refresh Latest. Then return to the matching job and check its final status. Don't confuse an old list entry with a new failure, and don't submit another scan just to refresh the screen. Open the resulting inventory record and inspect what the agent actually observed. Certificate and protocol evidence support this result. They don't prove every cryptographic property of the application behind the endpoint. Keep unknown or missing dimensions visible. Once this pilot's identity, service state, and discovery result all check out, you have a useful basis for expanding deployment in small batches with a unique credential for each host. To retire the pilot, apply the absent state, then revoke and archive its agent in the workspace. Service removal intentionally retains protected local configuration and credentials, so revocation is a separate step. Our disposable lab machine is deleted afterward. You've now completed the Linux Ansible loop: preview, install, repeat, verify contact, scan, inspect evidence, and retire. Windows and macOS Ansible deployment aren't part of this published collection's demonstrated scope.