1
0
Fork 0
mirror of https://github.com/geerlingguy/ansible-role-postgresql.git synced 2024-11-11 13:50:50 -05:00

Fix a few bugs.

This commit is contained in:
Jeff Geerling 2016-09-29 14:42:03 -05:00
parent e742492e45
commit cf840ea69f
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
password: "{{ item.password | default(omit) }}"
login_host: "{{ item.login_host | default('localhost') }}"
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') }}"
priv: "{{ item.priv | default(omit) }}"
role_attr_flags: "{{ item.role_attr_flags | default(omit) }}"

View file

@ -1,7 +1,7 @@
---
# Variable configuration.
- 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'
- name: Include OS-specific variables (RedHat).