From cc4f56270a90a53ee33e0e3f49220d0b802eab0c Mon Sep 17 00:00:00 2001 From: jifox Date: Mon, 18 Dec 2023 05:08:51 +0100 Subject: [PATCH] redo change --- docs/plugins/index.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/plugins/index.rst b/docs/plugins/index.rst index b94ceee8..41a95269 100644 --- a/docs/plugins/index.rst +++ b/docs/plugins/index.rst @@ -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 _______