The Ansible collection for NGINX Controller contains a set of Ansible roles that make it easy to incorporate NGINX Controller into your workflows. This collection helps you automate routine tasks such as generating ephemeral API tokens, managing certificate lifecycles, and configuring Controller objects (gateways, applications, and components).
In this webinar, you’ll learn how to get started with the collection, including how to automate:
Installation of NGINX Plus
– Registration of NGINX Plus instances with NGINX Controller
– Management of certificates and configurations through your pipelines with NGINX Controller
On-Demand Link
https://www.nginx.com/watch-on-demand/?id=automate-nginx-plus-environment-with-ansible-collection-nginx-controller
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
Automate your NGINX Environment with the Ansible Collection for NGINX Controller
1. June 18, 2020
NGINX Controller with Ansible Collections
1
Colin McNaughton
Technical Marketing Manager
Red Hat Ansible
Brian Ehlert
Sr. Technical Product Manager
F5 Networks
4. Simplified and consistent content schema
● A standardized way to organize and
package Ansible content
● Include roles, modules, module
utilities, plugins, documentation
● Semantic versioning
● Portable and flexible delivery
Introducing the Ansible Collection
5. Ansible Galaxy
galaxy.ansible.com
Ansible Automation Hub
cloud.redhat.com
● Community supported
● Extended to leverage
Collections framework
● “Latest and greatest”
● Certified, jointly supported by
Red Hat and Partner
● Access to advanced analytics
● “Slow and steady”
Step 2: Simplify Ansible Distribution Channels
6. Ansible Galaxy
galaxy.ansible.com
Ansible Automation Hub
cloud.redhat.com
Step 2: Distribution Example, Nginx Controller
https://galaxy.ansible.com/
$namespace/$collection
https://galaxy.ansible.com/nginxinc/nginx_controlle
r
namespace.collection_name.module
nginxinc.nginx_controller.nginx_controller_install
https://cloud.redhat.com/ansible/automation-hub/
$namespace/$collection
https://cloud.redhat.com/ansible/automation-
hub/nginxinc/nginx_controller/
namespace.collection_name.module
nginxinc.nginx_controller.nginx_controller_install
7. 7
Step 3: Let’s Go! (The Developer TL;DR)
1. Init collection: ansible-galaxy collection init foo.bar
2. Sanity testing: ansible-test sanity
3. Unit tests: ansible-test units
4. Integration tests: ansible-test integration
5. Build the collection: ansible-galaxy collection build
6. Publish the collection: ansible-galaxy collection publish
7. Install the collection: ansible-galaxy collection install
foo.bar