ansible_* deprecation #87

Open
opened 2025-12-14 11:52:54 +01:00 by mfocko · 0 comments
Owner
  • ansible_distribution

    [DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24.
    Origin: /Users/mfocko/git/mfocko/dotfiles/playbooks/bootstrap.yml:30:13
    
    28     # Handle distribution-specific changes before the generic ones
    29     - role: os_fedora
    30       when: ansible_distribution == "Fedora"
                   ^ column 13
    
    Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.
    
  • ansible_architecture

    [DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24.
    Origin: /Users/mfocko/git/mfocko/dotfiles/group_vars/desktops/vars:12:5
    
    10
    11   # Twitch chat client
    12   - "com.chatterino.chatterino/{{ ansible_architecture }}/stable"
           ^ column 5
    
    Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.
    
  • ansible_env.HOME

    [DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24.
    Origin: /Users/mfocko/git/mfocko/dotfiles/roles/editor_vscode/tasks/main.yml:8:11
    
    6 - name: Create directories for VSCode
    7   ansible.builtin.file:
    8     path: "{{ ansible_env.HOME }}/.config/Code - Insiders/User"
                ^ column 11
    
    Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.
    
  • ansible_distribution_release

    [DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24.
    Origin: /Users/mfocko/git/mfocko/dotfiles/roles/terminal_ghostty/tasks/install.yml:10:17
    
     8         types: deb
     9         uris: https://debian.griffo.io/apt
    10         suites: "{{ ansible_distribution_release }}"
                       ^ column 17
    
    Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.
    
- `ansible_distribution` ``` [DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24. Origin: /Users/mfocko/git/mfocko/dotfiles/playbooks/bootstrap.yml:30:13 28 # Handle distribution-specific changes before the generic ones 29 - role: os_fedora 30 when: ansible_distribution == "Fedora" ^ column 13 Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead. ``` - `ansible_architecture` ``` [DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24. Origin: /Users/mfocko/git/mfocko/dotfiles/group_vars/desktops/vars:12:5 10 11 # Twitch chat client 12 - "com.chatterino.chatterino/{{ ansible_architecture }}/stable" ^ column 5 Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead. ``` - `ansible_env.HOME` ``` [DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24. Origin: /Users/mfocko/git/mfocko/dotfiles/roles/editor_vscode/tasks/main.yml:8:11 6 - name: Create directories for VSCode 7 ansible.builtin.file: 8 path: "{{ ansible_env.HOME }}/.config/Code - Insiders/User" ^ column 11 Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead. ``` - `ansible_distribution_release` ``` [DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24. Origin: /Users/mfocko/git/mfocko/dotfiles/roles/terminal_ghostty/tasks/install.yml:10:17 8 types: deb 9 uris: https://debian.griffo.io/apt 10 suites: "{{ ansible_distribution_release }}" ^ column 17 Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead. ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mfocko/dotfiles#87
No description provided.