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/playbook
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
..
role fix handling allow_duplicates with the role cache (#82691) 2 months ago
__init__.py Require `from __future__ import annotations` (#81902) 8 months ago
attribute.py Require `from __future__ import annotations` (#81902) 8 months ago
base.py fix wording in error msg (#82848) 3 months ago
block.py Require `from __future__ import annotations` (#81902) 8 months ago
collectionsearch.py Require `from __future__ import annotations` (#81902) 8 months ago
conditional.py Require `from __future__ import annotations` (#81902) 8 months ago
delegatable.py Require `from __future__ import annotations` (#81902) 8 months ago
handler.py Fix additional spelling errors in builtin modules (#82012) 8 months ago
handler_task_include.py Require `from __future__ import annotations` (#81902) 8 months ago
helpers.py Remove unneeded Task.is_static assignment (#82288) 6 months ago
included_file.py Fix handling of ansible_loop_var and ansible_index_var inside ansible.builtin.include_tasks (#82789) 3 months ago
loop_control.py Require `from __future__ import annotations` (#81902) 8 months ago
notifiable.py Require `from __future__ import annotations` (#81902) 8 months ago
play.py Remove deprecated configs for DEFAULT_FACT_PATH, DEFAULT_GATHER_SUBSET, and DEFAULT_GATHER_TIMEOUT (#82978) 2 months ago
play_context.py Ensure ANSIBLE_NO_LOG is respected (CVE-2024-0690) (#82565) 5 months ago
playbook_include.py Require `from __future__ import annotations` (#81902) 8 months ago
role_include.py import_role - allow subdirectories with _from options (#82642) 4 months ago
taggable.py Require `from __future__ import annotations` (#81902) 8 months ago
task.py Fix additional spelling errors in builtin modules (#82012) 8 months ago
task_include.py Require `from __future__ import annotations` (#81902) 8 months ago