fix: force load all variables in group_vars uring the variable loading process to make them top priority over every role variables
All checks were successful
development / Check commit compliance (push) Successful in 6s
All checks were successful
development / Check commit compliance (push) Successful in 6s
This commit is contained in:
parent
51605ab239
commit
a574caac26
@ -23,7 +23,6 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
recurse: yes
|
||||
loop:
|
||||
- "{{ hashistack_remote_config_dir }}"
|
||||
- "{{ hashistack_remote_data_dir }}"
|
||||
@ -52,3 +51,8 @@
|
||||
when:
|
||||
- enable_nomad | bool
|
||||
- "('nomad_servers' in group_names) or ('nomad_clients' in group_names)"
|
||||
# - name: "Print all config"
|
||||
# ansible.builtin.debug:
|
||||
# msg: "{{ hostvars[inventory_hostname] }}"
|
||||
#
|
||||
# - fail:
|
||||
|
@ -121,7 +121,6 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
recurse: yes
|
||||
loop:
|
||||
- "{{ hashistack_remote_config_dir }}"
|
||||
- "{{ hashistack_remote_data_dir }}"
|
||||
|
@ -30,10 +30,12 @@
|
||||
mode: 0644
|
||||
loop: "{{ _hashistack_cacert_files.files }}"
|
||||
register: _hashistack_copied_ca
|
||||
when: not _hashistack_cacert_files.skipped | default(False)
|
||||
|
||||
- name: "Copy and update trust store"
|
||||
when: not _hashistack_copied_ca.skipped | default(False)
|
||||
block:
|
||||
- name: "Copy ca certificates to /usr/loca/share/ca-certificates"
|
||||
- name: "Copy ca certificates to /usr/local/share/ca-certificates"
|
||||
ansible.builtin.file:
|
||||
state: link
|
||||
src: "{{ item.dest }}"
|
||||
|
@ -1,4 +1,11 @@
|
||||
---
|
||||
- name: "Include all default variables"
|
||||
ansible.builtin.include_vars:
|
||||
dir: "../../group_vars/all"
|
||||
depth: 1
|
||||
extensions: ["yml"]
|
||||
delegate_to: localhost
|
||||
|
||||
- name: "Stat global configuration file"
|
||||
ansible.builtin.stat:
|
||||
path: "{{ configuration_directory }}/{{ configuration_global_vars_file }}"
|
||||
|
Loading…
Reference in New Issue
Block a user