Ansible and CITRIX Netscaler


Cloud computing is the new normal and many businesses have embraced digital transformation to adapt to rapidly changing markets. At the heart of digital transformation is operational efficiency, speed and lowering the cost and risk of change. DevOps teams are expected to stand up applications quickly and at high frequency. Networking infrastructure teams are challenged to rapidly evolve infrastructure while improving reliability, security and the cost of management. In some cases, the network infrastructure has even become the bottleneck to efficient operations as it is complex and difficult to provision. Implementing and maintaining network configurations in a hybrid cloud environment has added to the challenge.

Network automation helps operations teams automate routing and repetitive tasks such as device configuration. Network automation also lowers the risk of change by reducing the chance of human errors. Infrastructure teams, especially those with a DevOps mindset, have adopted open source automation frameworks like Ansible to reap the benefits of automation. It is helping them focus on the business requirements while speeding up the implementation of their design at low cost and low risk.


Citrix NetScaler is a leader in application delivery in a cloud-first world. Likewise, Ansible is a leader in delivering simple IT automation that ends repetitive tasks and frees up teams for more strategic work. Citrix and Ansible have come together to provide NetScaler users a simple way to automate and orchestrate the management of physical, virtual and containerized NetScaler appliances. This integration is done using NetScaler’s REST API (called NITRO) and is organized into modules. These modules provide comprehensive support on all NetScaler platforms and can automate most NetScaler configuration tasks.

Some examples include:

  • Creating and Managing virtual servers

  • Managing SSL/TLS termination and SSL certificate keys

  • Managing content switching

  • Managing session persistence

  • Configuring and managing global server load balancing (GSLB)

  • Managing health checks and monitoring


The Ansible and NetScaler integration provides many benefits:

  • No need for additional software. Purely agentless approach

  • Uses standards-based REST APIs (NITRO) to programmatically manage NetScaler application delivery controller (ADC) devices in all form factors and hybrid/multi-cloud deployments 

  • Comprehensive end to end automation and orchestration from initial configuration to application deployment 

  • Reduced application deployment time 

  • Administrator benefits with version control, code portability and promotion, peer review and continuous delivery 

  • Application owners can request NetScaler configuration changes in Ansible syntax or directly configure NetScalers as part of complex Ansible orchestration tasks 

  • Simplified management of NetScaler configurations with flexibility in configuring a specific feature of NetScaler or configuring an entire enterprise application deployment. Configurations are repeatable, declarative, version-controlled and API-driven


Get Started

Explore list of Citrix Netscaler modules in Ansible Docs.

Contact us for a network automation demo.




Automate NetScaler with Ansible

Download PDF


Video Demo

Ansible Quick Start - Introduction to Ansible

Watch Video

On Demand Webinar

Automating Your Network with Ansible

Watch Video