mirror of
https://gitea.0xace.cc/ansible-galaxy/postgresql.git
synced 2025-01-18 12:02:25 +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'] }}"
|
postgresql_installed_package: "{{ ansible_facts.packages[postgresql_package_name][0]['name'] }}"
|
||||||
when: postgresql_package_name in ansible_facts.packages
|
when: postgresql_package_name in ansible_facts.packages
|
||||||
|
|
||||||
- debug:
|
- name: Print installed PostgreSQL version
|
||||||
|
debug:
|
||||||
msg: "{{ ansible_facts.packages[postgresql_package_name][0]['version'] }}"
|
msg: "{{ ansible_facts.packages[postgresql_package_name][0]['version'] }}"
|
||||||
|
verbosity: 2
|
||||||
when: postgresql_installed_package is defined
|
when: postgresql_installed_package is defined
|
||||||
|
|
||||||
- name: Mask PostgreSQL before install
|
- name: Mask PostgreSQL before install
|
||||||
|
@ -12,6 +12,22 @@
|
|||||||
- "vars"
|
- "vars"
|
||||||
tags: postgresql_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"
|
- name: "Set locale for PostgreSQL"
|
||||||
include_tasks: locale.yaml
|
include_tasks: locale.yaml
|
||||||
tags: postgresql_locale
|
tags: postgresql_locale
|
||||||
|
Loading…
Reference in New Issue
Block a user