This commit is contained in:
ace 2023-02-10 17:44:03 +03:00
parent e9c8bd299b
commit 239c868767
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -12,6 +12,24 @@
- "vars"
tags: always, patroni_vars
- name: Load host variables to override role vars
include_vars:
dir: "{{ inventory_dir }}/host_vars"
ignore_unknown_extensions: True
extensions:
- ''
- "yaml"
- "yml"
tags: patroni_override_role_vars
- name: Load group variables to override role vars
include_vars:
dir: "{{ inventory_dir }}/group_vars"
extensions:
- "yaml"
- "yml"
tags: patroni_override_role_vars
- name: Task name
stat:
path: /etc/patroni/patroni.yaml