Ansible
info
The Ansible role for NetObserv Flow 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 NetObserv Anisble Role GitHub repository.
Requirements
- Ansible 2.9 or later
- Python 3.6 or later
- A target host running a supported version of Linux. For more information on available distributions and versions, see the NetObserv Flow Role Requirements.
Example Playbook
Here’s how to use the elastiflow.netobserv
role in your playbook:
# playbook.yml
---
- name: Deploy NetObserv Flow Collector
hosts: all
become: true
roles:
- elastiflow.netobserv
vars:
netobserv_version: "7.5.3" # Optional: Override default version
Usage Instructions
-
Clone or Copy the Role: Place the
elastiflow.netobserv
role directory in your Ansible roles directory or include it in your project structure. -
Include the Role in Your Playbook: Reference the
elastiflow.netobserv
role in your playbook as shown in the example above. -
Run the Playbook:
-
Check Mode (Dry Run):
ansible-playbook playbook.yml --check
-
Apply Changes:
ansible-playbook playbook.yml
-