Hi community! I have a simple, newbie question related to setting the environment for plugins. This playbook illustrates my problem:
The 'environment' keyword ONLY applies to the modules, all other
lookups share the controller environment and cannot be modified
inline.
Thanks for your answer Brian! So you say there’s no way? It doesn’t have to be inline in the task itself. If there’s some task that can modify the controller environment beforehand that’s good enough…
no such facility exists, each task runs in a fork so even if you
change the environment successfully with a action plugin, it would not
persist for the next task.
I was kind of expecting something like that… It’s a pity, but thanks a lot for clarifying this!