Add support for Amazon-2 (same as RedHat-7)
This commit is contained in:
parent
1f7de9f49d
commit
b331659a69
|
@ -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"
|
||||
|
|
|
@ -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…
Reference in New Issue