Skip to main content
Version: 7.14

Ansible

info

The Ansible collection for NetObserv is currently a technology preview. The design and implementation are less mature than stable features and subject to change. Please provide feedback or report issues to the ElastiFlow Forum.

An ansible role is available to install and configure NetObserv Flow. The role is available via the Ansible Galaxy role.

Requirements

  • Ansible 2.16 or later
  • Python 3.10 or later
  • A target host running a supported version of Linux. For more information on available distributions and versions, see the NetObserv Collection Requirements.

Example Playbooks

Here are the examples of how to use the elastiflow.netobserv.netobserv_flow role:

Usage Instructions

  1. Add the Role: Add the elastiflow.netobserv collection to the requirements.txt in your Ansible roles directory or include it in your project structure and install the requirements.

  2. Include the Role in Your Playbook: Reference the elastiflow.netobserv.netobserv_flow role in your playbook as shown in the examples above (full role configuration doc).

  3. Run the Playbook:

    • Check Mode (Dry Run):

      ansible-playbook playbook.yml --check
    • Apply Changes:

      ansible-playbook playbook.yml