Re: [ansible-devel] Support for functions for complex expressions

2022-07-14 Thread Brian Coca
Mostly i was thinking for the use of in templates, the only other thing i can think of is using 'intermediate vars' to keep reusable expressions and then creating their input when needed: - play: vars: merged_list: "{{ (lookup('vars', *query('varnames', merge_pattern$')) + [testlist_initia

Re: [ansible-devel] Re: A more extensible ActionModule: Split _configure_module

2022-07-14 Thread Brian Coca
A few things: - It is not just the 'python interpreter', modules can be written in any language or even be binaries, modules that 'ship with Ansible' are Powershell and Python, but that is not a limitation of the engine, which makes it even harder to deal with. - As much as 'per command granular