Refactor variable names in git.yml for consistency and clarity

This commit is contained in:
2026-07-21 00:42:05 +02:00
parent 618eaa0bf7
commit ab4ef8f831
+2 -2
View File
@@ -311,14 +311,14 @@
- name: (git.yml) Check for host specific git vars file
ansible.builtin.stat:
path: "vars/git-{{ inventory_hostname }}.yml"
register: git_host_vars_file
register: common_git_host_vars_file
tags:
- git-other-repositories
- name: (git.yml) Include only files matching git-<hostname>.yml (2.2)
ansible.builtin.include_vars:
file: "vars/git-{{ inventory_hostname }}.yml"
when: git_host_vars_file.stat.exists
when: common_git_host_vars_file.stat.exists
tags:
- git-other-repositories