Refactor variable names in git.yml for consistency and clarity
This commit is contained in:
@@ -292,7 +292,7 @@
|
|||||||
# Group [so36_server_dehydrated] reposotories
|
# Group [so36_server_dehydrated] reposotories
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
#- name: (git.yml) Install/Update sympa server repositories
|
# - name: (git.yml) Install/Update sympa server repositories
|
||||||
# git:
|
# git:
|
||||||
# repo: '{{ item.repo }}'
|
# repo: '{{ item.repo }}'
|
||||||
# dest: '{{ item.dest }}'
|
# dest: '{{ item.dest }}'
|
||||||
@@ -311,14 +311,14 @@
|
|||||||
- name: (git.yml) Check for host specific git vars file
|
- name: (git.yml) Check for host specific git vars file
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "vars/git-{{ inventory_hostname }}.yml"
|
path: "vars/git-{{ inventory_hostname }}.yml"
|
||||||
register: git_host_vars_file
|
register: common_git_host_vars_file
|
||||||
tags:
|
tags:
|
||||||
- git-other-repositories
|
- git-other-repositories
|
||||||
|
|
||||||
- name: (git.yml) Include only files matching git-<hostname>.yml (2.2)
|
- name: (git.yml) Include only files matching git-<hostname>.yml (2.2)
|
||||||
ansible.builtin.include_vars:
|
ansible.builtin.include_vars:
|
||||||
file: "vars/git-{{ inventory_hostname }}.yml"
|
file: "vars/git-{{ inventory_hostname }}.yml"
|
||||||
when: git_host_vars_file.stat.exists
|
when: common_git_host_vars_file.stat.exists
|
||||||
tags:
|
tags:
|
||||||
- git-other-repositories
|
- git-other-repositories
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user