On Tue, 28 May 2024 14:05:51 +0200
Dick Visser <[email protected]> wrote:

> I can use a variable for it (I think) ...

Top level keys must be static. Quoting from ansible-core
2.12 Release notes:
https://github.com/ansible/ansible/blob/stable-2.12/changelogs/CHANGELOG-v2.12.rst#breaking-changes--porting-guide

Breaking Changes / Porting Guide:

* Action, module, and group names in module_defaults must
  be static values. Their values can still be templates.

-- 
Vladimir Botka

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20240529155917.76aed10f%40plana.

Attachment: pgpbalL6tVthQ.pgp
Description: OpenPGP digital signature

Reply via email to