summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/module_defaults (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use ansible.module_utils.common.text.converters (#80704)Matt Clay2023-05-031-1/+1
| | | Replace use of old `ansible.module_utils._text` and add a unit test to maintain backwards compatibility.
* Clean up unused imports in integration tests (#79895)Matt Clay2023-02-033-3/+0
|
* Re-organize CI test groups for POSIX tests. (#77420)Matt Clay2022-08-041-1/+1
| | | | | | * `context/target` tests must be in groups 1 - 2. * `context/controller` tests must be in groups 3 - 5. This makes it easier to efficiently organize groups and balance test runtimes.
* Add toggle to fix module_defaults with module-as-redirected-action on a ↵Sloane Hertel2022-05-2410-0/+382
| | | | | | | | | | | | | per-module basis (#77265) * If there is a platform specific handler, prefer the resolved module over the resolved action when loading module_defaults Add a toggle for action plugins to prefer the resolved module when loading module_defaults Allow moving away from modules intercepted as actions pattern Fixes #77059
* Clean up integration tests (#77516)Sloane Hertel2022-04-141-10/+10
|
* ansible-test - split controller/target testing (#75605)Matt Clay2021-09-211-0/+1
|
* Fix resolution of action/module names in module_defaults (#75284)Sloane Hertel2021-07-212-0/+132
| | | | | | | * Fix resolution of action/module names in module_defaults * changelog * Include legacy module_defaults entries for builtin plugins
* add action_groups support to collections (#74039)Sloane Hertel2021-07-149-1/+509
| | | | | | | | | | | | | | | | | | | * Canonicalize module_defaults actions and action_groups pre-fork and cache them on the play * Call get_action_args_with_defaults with the resolved FQCN plugin and don't pass the redirect list * Add validation for action_group metadata and a toggle to disable the warnings * Handle groups recursively referring to each other * Remove special-casing for non-fqcn actions in module_defaults groups * Error for actions and groups in module_defaults that can't be resolved * Error for fully templated module_defaults * Add integration tests for action_groups * Changelog
* support hard coded module_defaults.yml groups for collections (#69919)Sloane Hertel2020-06-1010-27/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Only allow groups which were hardcoded in module_defaults.yml only load action groups from the collection if module_defaults contains a potential group for the action * Fix tests using modules that override those whitelisted in lib/ansible/config/module_defaults.yml Third party modules should not be using group/ - use the action name instead * add externalized module_defaults tests add the missing group and collections ci_complete Co-authored-by: Matt Davis <mrd@redhat.com> * changelog ci_complete * Fix import in tests ci_complete * Update with requested changes ci_complete * don't traceback since we don't validate the contents of module_defaults ci_complete Co-authored-by: Matt Davis <mrd@redhat.com>
* Use a custom test module for module_defaults test.Matt Clay2020-02-112-15/+47
| | | | This avoids a dependency on a module which will not remain in the repo after migration.
* Amazon modules: rename _facts with ansible_facts result to _info (#60178)Felix Fontein2019-08-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aws_s3_bucket_facts -> aws_s3_bucket_info * cloudformation_facts -> cloudformation_info * cloudfront_facts -> cloudfront_info * ecs_service_facts -> ecs_service_info * efs_facts -> efs_info * Add changelog and porting guide entry. * lambda_facts -> lambda_info * Improve examples. * Add subsection on renamed modules. * Add sentence on registering variables. * Fix ReST. * Instead of renaming lambda_facts, deprecate it and replace with new module. * Rename internal variable. * Re-add sanity ignores for lambda_facts.
* Extend `module_defaults` by adding default groups for cloud modules (#44127)Ryan Brown2018-08-231-0/+25
| | | Extends `module_defaults` by adding a prefix to defaults `group/` which denotes a builtin list of modules. Initial groups are: `group/aws`, `group/azure`, and `group/gcp`
* Update Shippable integration test groups. (#43118)Matt Clay2018-07-241-1/+1
| | | | | | | * Update Shippable integration test groups. * Update integration test group aliases. * Rebalance AWS and Azure tests with extra group. * Rebalance Windows tests with another group.
* Fix test aliases.Matt Clay2018-04-121-0/+1
|
* Support for module param defaults (#22648)Andrew Gaffney2018-04-052-0/+89