mirror of
https://github.com/geerlingguy/ansible-role-postgresql.git
synced 2025-03-10 17:26:20 -04:00
Fix a few bugs.
This commit is contained in:
parent
e742492e45
commit
cf840ea69f
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
password: "{{ item.password | default(omit) }}"
|
password: "{{ item.password | default(omit) }}"
|
||||||
login_host: "{{ item.login_host | default('localhost') }}"
|
login_host: "{{ item.login_host | default('localhost') }}"
|
||||||
login_password: "{{ item.login_password | default(omit) }}"
|
login_password: "{{ item.login_password | default(omit) }}"
|
||||||
login_user: "{{ item.login_user | default(postgres) }}"
|
login_user: "{{ item.login_user | default('postgres') }}"
|
||||||
port: "{{ item.port | default('5432') }}"
|
port: "{{ item.port | default('5432') }}"
|
||||||
priv: "{{ item.priv | default(omit) }}"
|
priv: "{{ item.priv | default(omit) }}"
|
||||||
role_attr_flags: "{{ item.role_attr_flags | default(omit) }}"
|
role_attr_flags: "{{ item.role_attr_flags | default(omit) }}"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
# Variable configuration.
|
# Variable configuration.
|
||||||
- name: Include OS-specific variables (Debian).
|
- name: Include OS-specific variables (Debian).
|
||||||
include_vars: "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
include_vars: "{{ ansible_distribution }}-{{ ansible_distribution_version.split(".")[0] }}.yml"
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: Include OS-specific variables (RedHat).
|
- name: Include OS-specific variables (RedHat).
|
||||||
|
|
Loading…
Add table
Reference in a new issue