mirror of
https://github.com/geerlingguy/ansible-role-postgresql.git
synced 2025-10-02 23:12:34 -04:00
Add support for Amazon-2 (same as RedHat-7)
This commit is contained in:
parent
1f7de9f49d
commit
b331659a69
2 changed files with 16 additions and 0 deletions
|
@ -9,6 +9,11 @@
|
|||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
- ansible_distribution != 'Fedora'
|
||||
- ansible_distribution != 'Amazon'
|
||||
|
||||
- name: Include OS-specific variables (Amazon).
|
||||
include_vars: "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
||||
when: ansible_distribution == 'Amazon'
|
||||
|
||||
- name: Include OS-specific variables (Fedora).
|
||||
include_vars: "{{ ansible_distribution }}-{{ ansible_distribution_version.split('.')[0] }}.yml"
|
||||
|
|
11
vars/Amazon-2.yml
Normal file
11
vars/Amazon-2.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
__postgresql_version: "9.2"
|
||||
__postgresql_data_dir: "/var/lib/pgsql/data"
|
||||
__postgresql_bin_path: "/usr/bin"
|
||||
__postgresql_config_path: "/var/lib/pgsql/data"
|
||||
__postgresql_daemon: postgresql
|
||||
__postgresql_packages:
|
||||
- postgresql
|
||||
- postgresql-server
|
||||
- postgresql-contrib
|
||||
- postgresql-libs
|
Loading…
Add table
Add a link
Reference in a new issue