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.
20Modules4Roles5Plugins1Dependency
Ansible collection for Lantronix Out-of-Band infrastructure (SLC9000 + Percepxion)
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.
ansible-galaxy collection install lantronix.oob
Requires the requests library:
pip install requests
requests library| Platform | Connection Plugin | API |
|---|---|---|
| SLC9000 (firmware R8+) | lantronix.oob.slc9 | REST API v2 (OpenAPI 3.1.0) |
| Percepxion 6.12+ | lantronix.oob.percepxion | OpenAPI 3.0.1 |
| Module | What it does |
|---|---|
lantronix.oob.slc_facts | Gather hardware/firmware/status facts |
lantronix.oob.slc_users | Manage local user accounts |
lantronix.oob.slc_network | Configure ethernet interfaces |
lantronix.oob.slc_system | Manage hostname, NTP, timezone, reboot |
lantronix.oob.slc_device_ports | Query serial/console port configuration |
lantronix.oob.slc_firmware | Check firmware version, trigger upgrades |
lantronix.oob.slc_config | Backup, compare, batch commands, save config |
lantronix.oob.slc_managed_devices | Query devices connected via serial ports |
| Module | What it does |
|---|---|
lantronix.oob.percepxion_facts | Gather fleet summary and platform facts |
lantronix.oob.percepxion_devices | Query and update device inventory |
lantronix.oob.percepxion_projects | Manage device project assignments |
lantronix.oob.percepxion_users | Manage Percepxion users and roles |
lantronix.oob.percepxion_smart_groups | Create and manage device smart groups |
lantronix.oob.percepxion_firmware | Fleet firmware compliance report and upgrade |
lantronix.oob.percepxion_config | Config backup, restore, push at fleet scale |
lantronix.oob.percepxion_jobs | Job group lifecycle, create, schedule, monitor |
lantronix.oob.percepxion_audit_logs | Security audit log query and device access log export |
lantronix.oob.percepxion_aoob_session | Initiate and terminate OOB sessions |
lantronix.oob.percepxion_import_devices | Bulk device import and project assignment |
lantronix.oob.percepxion_telemetry | Device telemetry stats and historical data |
| Role | What it does |
|---|---|
lantronix.oob.oob_fleet_inventory | Queries Percepxion and generates a dynamic Ansible inventory |
lantronix.oob.oob_firmware_audit | Checks fleet firmware compliance, optionally triggers upgrades |
lantronix.oob.oob_user_management | Bulk user management across all SLC devices in a smart group |
lantronix.oob.oob_baseline_config | Enforces baseline hostname, NTP, and syslog config across SLC fleet |
# 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 }}"
# 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 }}"
This collection includes two httpapi connection plugins:
lantronix.oob.slc9, authenticates to SLC9000 REST API v2 via session tokenlantronix.oob.percepxion, authenticates to Percepxion API with Bearer token and CSRF token handlingBoth plugins handle login, token management, and error translation automatically. You do not call them directly; set ansible_network_os in your inventory.
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.
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
See CHANGELOG.rst for release history.
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/.
Apache 2.0. See LICENSE for details.
| Product |
|---|
| 2.4 |
| 2.5 |
| 2.6 |
This collection requires the following collections for use:
| Name | Summary |
|---|