Hi all- we’re happy to announce the beta release of:
- ansible-core 2.12.0b2
How to get it
Hi all- we’re happy to announce the beta release of:
How to get it
Hi Matt
Does core 2.12.0b2 support module_defaults for collections ?
I’m working on a collection of modules and would like to use the ability to specify module_defaults for my custom collection like so.
- hosts:
- localhost
module_defaults:
mynamespace.mycollection:
mymoduledefaultparam: ansible_date_time.epoch
tasks:
- name: “mytestmodule”
mynamespace.mycollection.mytestmodule:
Just wondering if this is now available with this release.
I went through the change log but couldn’t really tell if it was available or not.
Thanks
Dhiwakar
Yes, the feature is called action_groups
in the changelog.
Under this section in the documentation: https://docs.ansible.com/ansible-core/devel/user_guide/playbooks_module_defaults.html#module-defaults-groups
Search for “In ansible-core 2.12”.