diff --git a/tasks/main.yaml b/tasks/main.yaml index 9d9be07..7f29c6c 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -11,25 +11,10 @@ paths: - "vars" -- name: Load host variables to override role vars - include_vars: - dir: "{{ inventory_dir }}/host_vars" - ignore_unknown_extensions: True - extensions: - - '' - - "yaml" - - "yml" - tags: consul_override_role_vars - -- name: Load group variables to override role vars - include_vars: - dir: "{{ inventory_dir }}/group_vars" - ignore_unknown_extensions: True - extensions: - - '' - - "yaml" - - "yml" - tags: consul_override_role_vars +- name: Set facts about needed vars + set_fact: + consul_version_build: "{{ consul_version_build }}" + when: ansible_os_family == 'Debian' - name: Consul cluster pre-check include_tasks: pre_check.yaml