Skip to content

Commit

Permalink
Add documentation about the transform function (#886)
Browse files Browse the repository at this point in the history
* Add documentation about the transform function

* Undo unwanted changes

* redo change
  • Loading branch information
jifox authored Dec 18, 2023
1 parent 33c587a commit 1d15748
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/plugins/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ Transform functions

A transform function is a plugin that manipulates the inventory independently from the inventory plugin used. Useful to extend data using the environment, a secret store or similar.

During inventory initialization, the transform function will be called in a for loop for each host. The transform function takes a host object as the first parameter and additional keyword arguments as specified in the `config.inventory.transform_function_options` dictionary.

Runners
_______

Expand Down

0 comments on commit 1d15748

Please sign in to comment.