Refactor variable names in git.yml for consistency and clarity
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user