community.openwrt.wrapper module – Internal wrapper module for OpenWrt shell-based modules

Note

This module is part of the community.openwrt collection (version 0.5.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install community.openwrt.

To use it in a playbook, specify: community.openwrt.wrapper.

New in community.openwrt 0.2.0

Synopsis

  • This is an internal module used by the OpenWrt collection’s action plugins.

  • It serves as a runtime wrapper that sources and executes shell-based module scripts.

  • End users should not call this module directly.

  • The action plugins transfer the appropriate module script and invoke this wrapper with the script path provided via the _openwrt_script parameter.

Parameters

Parameter

Comments

_openwrt_script

string

Internal parameter that specifies the path to the shell script to execute.

This parameter is automatically set by the collection’s action plugins.

Should not be used directly by end users.

Notes

Note

  • This module is part of the internal implementation of the community.openwrt collection.

  • It should not be invoked directly in playbooks.

  • All OpenWrt modules (command, copy, file, uci, etc.) use this wrapper mechanism internally.

See Also

See also

community.openwrt.command

Execute commands on OpenWrt targets.

community.openwrt.uci

Controls OpenWrt UCI.

community.openwrt.copy

Copy files to remote OpenWrt devices.

Examples

# This module is not intended to be used directly in playbooks.
# It is invoked automatically by action plugins.
# See documentation for individual modules like community.openwrt.uci

Authors

  • Alexei Znamensky (@russoz)