Ansible
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:
- NetObserv Flow ES simple: Deploy NetObserv Flow with "simple" ElasticSearch
- NetObserv Flow OS simple: Deploy NetObserv Flow with "simple" OpenSearch
Usage Instructions
-
Add the Role: Add the
elastiflow.netobserv
collection to therequirements.txt
in your Ansible roles directory or include it in your project structure and install the requirements. -
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). -
Run the Playbook:
-
Check Mode (Dry Run):
ansible-playbook playbook.yml --check
-
Apply Changes:
ansible-playbook playbook.yml
-