How are you managing Ubuntu laptops with Ansible behind Zscaler?

September 23, 2026 3 answers
Asked by Ledger.lint
Our company recently deployed Zscaler across roughly 300 Ubuntu laptops. Since inbound traffic is now blocked, we can no longer rely on ad-hoc SSH access or traditional push-based Ansible for remote troubleshooting and management. For teams managing Linux fleets in a similar setup, what approach has worked best? Are you using ansible-pull with an internal Git server, ZPA client-to-client connectivity, an agent-based tool, or something else?

Answers

passport.photo.booth
Itโ€™s worth working with the proxy and endpoint-security teams before redesigning everything. They may be able to permit traffic from the Ansible server or adjust the laptop firewall policy. Be cautious about proprietary connector options, thoughโ€”some are expensive and may not even support Linux yetโ€”so an outbound pull model can be more practical.
Reply to this answer
soup without salt
If youโ€™re using ZPA, client-to-client connectivity can work. Youโ€™d install ZPA on the Ansible server as well and create an application policy that allows the server to reach the laptops. Youโ€™ll need a naming scheme that lets you define the client group separately. If ZPA isnโ€™t an option, ansible-pull is probably the next best approach. Also, if youโ€™re using ZIA rather than ZPA, check whether the real problem is a host firewall policy that was deployed alongside the client, since ZIA alone generally shouldnโ€™t block inbound SSH.
Reply to this answer
isobar_998
The cleanest model is usually to have the laptops connect outward instead of trying to connect into them. Run ansible-pull from a systemd timer, pull from an internal Git repository over HTTPS, and use RandomizedDelaySec so all 300 machines donโ€™t check in at once. Make sure the Git service is reachable through your proxy or published through ZPA, and monitor devices whose last successful pull is more than a day old. For interactive support, use an agent that establishes an outbound session over 443, and coordinate any required SSL-inspection bypasses with the network team. If the playbooks manage packages, test carefully alongside unattended-upgrades.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions