mirror of
https://gitea.0xace.cc/ansible-galaxy/consul.git
synced 2025-04-05 13:41:56 +00:00
fix vars
This commit is contained in:
parent
f92fcd0879
commit
8f15c2b100
@ -11,6 +11,22 @@
|
||||
paths:
|
||||
- "vars"
|
||||
|
||||
- name: Load host variables to override role vars
|
||||
include_vars:
|
||||
dir: "{{ inventory_dir }}/host_vars"
|
||||
ignore_unknown_extensions: True
|
||||
extensions:
|
||||
- ''
|
||||
tags: consul_override_role_vars
|
||||
|
||||
- name: Load group variables to override role vars
|
||||
include_vars:
|
||||
dir: "{{ inventory_dir }}/group_vars"
|
||||
extensions:
|
||||
- "yaml"
|
||||
- "yml"
|
||||
tags: consul_override_role_vars
|
||||
|
||||
- name: Consul cluster pre-check
|
||||
include_tasks: pre_check.yaml
|
||||
when: inventory_hostname in groups[consul_server_group]
|
||||
|
Loading…
x
Reference in New Issue
Block a user