Refactor variable names in git.yml for consistency and clarity
This commit is contained in:
@@ -292,7 +292,7 @@
|
||||
# Group [so36_server_dehydrated] reposotories
|
||||
# ---
|
||||
|
||||
#- name: (git.yml) Install/Update sympa server repositories
|
||||
# - name: (git.yml) Install/Update sympa server repositories
|
||||
# git:
|
||||
# repo: '{{ item.repo }}'
|
||||
# dest: '{{ item.dest }}'
|
||||
@@ -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