You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible
Sloane Hertel e03fcda6da
Remove deprecated configs for DEFAULT_FACT_PATH, DEFAULT_GATHER_SUBSET, and DEFAULT_GATHER_TIMEOUT (#82978)
Instead, set module_defaults at the play level, which will apply to the
gather_facts keyword as well as any
ansible.builtin.setup/ansible.builtin.gather_facts tasks.

- hosts: all
  gather_facts: yes
  module_defaults:
    ansible.builtin.setup:
      fact_path: /path/to/facts.d/
      gather_subset: '!all,!min,local'
      gather_timeout: 20
  tasks:
    # also applies to:
    - ansible.builtin.setup:
    - ansible.builtin.gather_facts:

If you wish to only apply these to the gather_facts keyword, set as play keywords.
2 months ago
..
_vendor Require `from __future__ import annotations` (#81902) 8 months ago
cli centralize and complete the internal static vars (#82872) 2 months ago
collections Require `from __future__ import annotations` (#81902) 8 months ago
compat Remove Python `< 3.5` `selectors` fallbacks (#81872) 8 months ago
config Remove deprecated configs for DEFAULT_FACT_PATH, DEFAULT_GATHER_SUBSET, and DEFAULT_GATHER_TIMEOUT (#82978) 2 months ago
errors Require `from __future__ import annotations` (#81902) 8 months ago
executor Fix traceback inheriting from NetworkConnectionBase and add integration tests (#82954) 2 months ago
galaxy Follow up to #82933 - remove platforms from templates (#82961) 2 months ago
inventory Require `from __future__ import annotations` (#81902) 8 months ago
module_utils Drop Python 3.7 support (#82982) 2 months ago
modules apt: add a note about extraneous quotes in package name (#82960) 2 months ago
parsing Enable file cache for vaulted host_vars_files vars plugin (#81995) 3 months ago
playbook Remove deprecated configs for DEFAULT_FACT_PATH, DEFAULT_GATHER_SUBSET, and DEFAULT_GATHER_TIMEOUT (#82978) 2 months ago
plugins plugins: remove deprecated features (#82976) 2 months ago
template Fix error when templating an unsafe string leading to a type error in Python (#82675) 3 months ago
utils Remove deprecated 'loader' argument (#82968) 2 months ago
vars plugins: remove deprecated features (#82976) 2 months ago
__init__.py Require `from __future__ import annotations` (#81902) 8 months ago
__main__.py Require `from __future__ import annotations` (#81902) 8 months ago
constants.py centralize and complete the internal static vars (#82872) 2 months ago
context.py Require `from __future__ import annotations` (#81902) 8 months ago
keyword_desc.yml Fix the strategy plugin description in keywords (#82113) 7 months ago
release.py Bump devel to 2.18.0.dev0 (#82934) 2 months ago