Refactor variable names in git.yml for consistency and clarity
This commit is contained in:
+12
-12
@@ -292,16 +292,16 @@
|
||||
# Group [so36_server_dehydrated] reposotories
|
||||
# ---
|
||||
|
||||
#- name: (git.yml) Install/Update sympa server repositories
|
||||
# git:
|
||||
# repo: '{{ item.repo }}'
|
||||
# dest: '{{ item.dest }}'
|
||||
# with_items: '{{ git_so36_dehydrated_repositories }}'
|
||||
# loop_control:
|
||||
# label: "{{ item.name }}"
|
||||
# when: "groups['so36_server_dehydrated']|string is search(inventory_hostname)"
|
||||
# tags:
|
||||
# - git-so36-dehydrated-repositories
|
||||
# - name: (git.yml) Install/Update sympa server repositories
|
||||
# git:
|
||||
# repo: '{{ item.repo }}'
|
||||
# dest: '{{ item.dest }}'
|
||||
# with_items: '{{ git_so36_dehydrated_repositories }}'
|
||||
# loop_control:
|
||||
# label: "{{ item.name }}"
|
||||
# when: "groups['so36_server_dehydrated']|string is search(inventory_hostname)"
|
||||
# tags:
|
||||
# - git-so36-dehydrated-repositories
|
||||
|
||||
# ---
|
||||
# Other (host specific) repositories
|
||||
@@ -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