oob

20Modules4Roles5Plugins1Dependency

Overview

Description

Ansible collection for Lantronix Out-of-Band infrastructure (SLC9000 + Percepxion)

Readme

lantronix.oob Ansible Collection

Manage Lantronix Out-of-Band infrastructure from Ansible. The lantronix.oob collection provides 20 modules covering SLC9000 device configuration and Percepxion fleet management, the only Ansible collection that automates the full OOB infrastructure stack, not just the appliance.

Installation

ansible-galaxy collection install lantronix.oob

Requires the requests library:

pip install requests

Requirements

  • ansible-core >= 2.16
  • ansible.netcommon >= 5.0.0
  • Python 3.9+
  • Python requests library

Supported Platforms

PlatformConnection PluginAPI
SLC9000 (firmware R8+)lantronix.oob.slc9REST API v2 (OpenAPI 3.1.0)
Percepxion 6.12+lantronix.oob.percepxionOpenAPI 3.0.1

Modules

SLC9000 Device Modules

ModuleWhat it does
lantronix.oob.slc_factsGather hardware/firmware/status facts
lantronix.oob.slc_usersManage local user accounts
lantronix.oob.slc_networkConfigure ethernet interfaces
lantronix.oob.slc_systemManage hostname, NTP, timezone, reboot
lantronix.oob.slc_device_portsQuery serial/console port configuration
lantronix.oob.slc_firmwareCheck firmware version, trigger upgrades
lantronix.oob.slc_configBackup, compare, batch commands, save config
lantronix.oob.slc_managed_devicesQuery devices connected via serial ports

Percepxion Fleet Modules

ModuleWhat it does
lantronix.oob.percepxion_factsGather fleet summary and platform facts
lantronix.oob.percepxion_devicesQuery and update device inventory
lantronix.oob.percepxion_projectsManage device project assignments
lantronix.oob.percepxion_usersManage Percepxion users and roles
lantronix.oob.percepxion_smart_groupsCreate and manage device smart groups
lantronix.oob.percepxion_firmwareFleet firmware compliance report and upgrade
lantronix.oob.percepxion_configConfig backup, restore, push at fleet scale
lantronix.oob.percepxion_jobsJob group lifecycle, create, schedule, monitor
lantronix.oob.percepxion_audit_logsSecurity audit log query and device access log export
lantronix.oob.percepxion_aoob_sessionInitiate and terminate OOB sessions
lantronix.oob.percepxion_import_devicesBulk device import and project assignment
lantronix.oob.percepxion_telemetryDevice telemetry stats and historical data

Example Roles

RoleWhat it does
lantronix.oob.oob_fleet_inventoryQueries Percepxion and generates a dynamic Ansible inventory
lantronix.oob.oob_firmware_auditChecks fleet firmware compliance, optionally triggers upgrades
lantronix.oob.oob_user_managementBulk user management across all SLC devices in a smart group
lantronix.oob.oob_baseline_configEnforces baseline hostname, NTP, and syslog config across SLC fleet

Quick Start

SLC9000

# inventory.yml
slc_devices:
  hosts:
    slc9k-datacenter:
      ansible_host: 192.168.1.100
  vars:
    ansible_network_os: lantronix.oob.slc9
    ansible_connection: ansible.netcommon.httpapi
    ansible_httpapi_use_ssl: true
    ansible_httpapi_validate_certs: true
    ansible_user: sysadmin
    ansible_password: "{{ vault_slc_password }}"
# gather_facts.yml
- hosts: slc_devices
  gather_facts: false
  tasks:
    - name: Gather SLC facts
      lantronix.oob.slc_facts:
      register: result

    - name: Show firmware and model
      ansible.builtin.debug:
        msg: "{{ inventory_hostname }}, {{ result.slc_facts.model }} running {{ result.slc_facts.firmware_version }}"

Percepxion

# inventory.yml
percepxion:
  hosts:
    percepxion_platform:
      ansible_host: api.consoleflow.com
  vars:
    ansible_network_os: lantronix.oob.percepxion
    ansible_connection: ansible.netcommon.httpapi
    ansible_httpapi_use_ssl: true
    ansible_user: "{{ vault_percepxion_user }}"
    ansible_password: "{{ vault_percepxion_password }}"
    percepxion_project_tag: "prod-datacenter-east"   # optional, scopes all ops to project
    percepxion_tenant_id: "34f5c98e-..."             # optional, Project Admin only
# firmware_audit.yml
- hosts: percepxion_platform
  gather_facts: false
  tasks:
    - name: Run firmware compliance report
      lantronix.oob.percepxion_firmware:
        state: report
      register: audit

    - name: Show non-compliant devices
      ansible.builtin.debug:
        msg: "Non-compliant: {{ audit.firmware_report.non_compliant | map(attribute='device_name') | list }}"

Connection Plugins

This collection includes two httpapi connection plugins:

  • lantronix.oob.slc9, authenticates to SLC9000 REST API v2 via session token
  • lantronix.oob.percepxion, authenticates to Percepxion API with Bearer token and CSRF token handling

Both plugins handle login, token management, and error translation automatically. You do not call them directly; set ansible_network_os in your inventory.

Percepxion Project and Tenant Scoping

The Percepxion API supports multi-project and multi-tenant deployments. Set these as inventory connection variables, all Percepxion modules inherit them automatically:

percepxion_project_tag: "prod-east"       # scope all ops to this project
percepxion_tenant_id: "uuid-here"         # required only for Project Admins

To operate across multiple projects, loop over inventory groups rather than module arguments.

Contributing

Bug reports and pull requests welcome. Please open an issue before submitting a PR for significant changes.

See CONTRIBUTING.md for development setup, coding standards, and commit conventions.

mkdir -p ansible_collections/lantronix
git clone https://github.com/Lantronix/ansible-collection-oob ansible_collections/lantronix/oob
cd ansible_collections/lantronix/oob

# Sanity tests
ansible-test sanity --python 3.12

# Unit tests
ansible-test units --python 3.12

Changelog

See CHANGELOG.rst for release history.

Support

This collection is maintained by the Lantronix OOB product team.

Red Hat Automation Hub users: Open a support request via the collection page on Automation Hub using the "Create issue" link. This ensures your request is routed through the appropriate Red Hat support channels.

Community support: Open an issue on GitHub. Pull requests are welcome, please open an issue before submitting a PR for significant changes.

Product support: Visit https://www.lantronix.com/support/.

License

Apache 2.0. See LICENSE for details.

Certification

Product
2.4
2.5
2.6
DocumentationDependencies

This collection requires the following collections for use:

NameSummary
No dependencies
This collection is not being used by other collections.
View in Automation Hub
Red Hat logoLinkedInYouTubeFacebookTwitter

Platforms

Products & services

Try, buy, sell

Help

About Red Hat Ecosystem Catalog

The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2026 Red Hat, LLC
Feedback