1
+ # ###############################################################################
2
+ # Copyright (c) IBM Corporation 2024
3
+ # ###############################################################################
4
+
5
+ # #############################################################################
6
+ # Description
7
+ # Support for this feature was first added in ansible-core 2.12 so that
8
+ # ansible-test configured with desirable changes. This is an optional
9
+ # configuration, but when used, must be placed in "tests/config.yml"
10
+ # relative to the base of the collection. This configuration only
11
+ # applies to modules and module_utils.
12
+ #
13
+ # See additional example -
14
+ # https://github.com/ansible/ansible/blob/devel/test/lib/ansible_test/config/config.yml
15
+ #
16
+ # Options
17
+ # modules - required
18
+ # python_requires - required
19
+ # - 'default' - All Python versions supported by Ansible.
20
+ # This is the default value if no configuration is provided.
21
+ # - 'controller' - All Python versions supported by the Ansible controller.
22
+ # This indicates the modules/module_utils can only run on the controller.
23
+ # Intended for use only with modules/module_utils that depend on
24
+ # ansible-connection, which only runs on the controller.
25
+ # Unit tests for modules/module_utils will be permitted to import any
26
+ # Ansible code, instead of only module_utils.
27
+ # - SpecifierSet - A PEP 440 specifier set indicating the supported Python versions.
28
+ # This is only needed when modules/module_utils do not support all
29
+ # Python versions supported by Ansible. It is not necessary to exclude
30
+ # versions which Ansible does not support, as this will be done automatically.
31
+ # #############################################################################
32
+
33
+ modules :
34
+ python_requires : ' >=3.9'
0 commit comments