mirror of
https://gitea.0xace.cc/ansible-galaxy/postgresql.git
synced 2025-01-18 03:52:24 +00:00
fix vars
This commit is contained in:
parent
a2d5bd0cfb
commit
1dccd456c8
@ -27,8 +27,10 @@
|
||||
postgresql_installed_package: "{{ ansible_facts.packages[postgresql_package_name][0]['name'] }}"
|
||||
when: postgresql_package_name in ansible_facts.packages
|
||||
|
||||
- debug:
|
||||
- name: Print installed PostgreSQL version
|
||||
debug:
|
||||
msg: "{{ ansible_facts.packages[postgresql_package_name][0]['version'] }}"
|
||||
verbosity: 2
|
||||
when: postgresql_installed_package is defined
|
||||
|
||||
- name: Mask PostgreSQL before install
|
||||
|
@ -12,6 +12,22 @@
|
||||
- "vars"
|
||||
tags: postgresql_vars
|
||||
|
||||
- name: Load host variables to override role vars
|
||||
include_vars:
|
||||
dir: "{{ inventory_dir }}/host_vars"
|
||||
ignore_unknown_extensions: True
|
||||
extensions:
|
||||
- ''
|
||||
tags: postgresql_override_role_vars
|
||||
|
||||
- name: Load group variables to override role vars
|
||||
include_vars:
|
||||
dir: "{{ inventory_dir }}/group_vars"
|
||||
extensions:
|
||||
- "yaml"
|
||||
- "yml"
|
||||
tags: postgresql_override_role_vars
|
||||
|
||||
- name: "Set locale for PostgreSQL"
|
||||
include_tasks: locale.yaml
|
||||
tags: postgresql_locale
|
||||
|
Loading…
Reference in New Issue
Block a user