Add Fedora support
This commit is contained in:
parent
e61751f344
commit
3c83001df6
|
@ -12,6 +12,11 @@ galaxy_info:
|
||||||
versions:
|
versions:
|
||||||
- 6
|
- 6
|
||||||
- 7
|
- 7
|
||||||
|
- name: Fedora
|
||||||
|
versions:
|
||||||
|
- 27
|
||||||
|
- 28
|
||||||
|
- 29
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
- all
|
- all
|
||||||
|
|
|
@ -6,7 +6,11 @@
|
||||||
|
|
||||||
- name: Include OS-specific variables (RedHat).
|
- name: Include OS-specific variables (RedHat).
|
||||||
include_vars: "{{ ansible_os_family }}-{{ ansible_distribution_version.split('.')[0] }}.yml"
|
include_vars: "{{ ansible_os_family }}-{{ ansible_distribution_version.split('.')[0] }}.yml"
|
||||||
when: ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'RedHat' and ansible_distribution != 'Fedora'
|
||||||
|
|
||||||
|
- name: Include OS-specific variables (Fedora).
|
||||||
|
include_vars: "{{ ansible_distribution }}-{{ ansible_distribution_version.split('.')[0] }}.yml"
|
||||||
|
when: ansible_distribution == 'Fedora'
|
||||||
|
|
||||||
- name: Define postgresql_packages.
|
- name: Define postgresql_packages.
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
__postgresql_version: "9.6"
|
||||||
|
__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
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
__postgresql_version: "10.5"
|
||||||
|
__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
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
__postgresql_version: "10.5"
|
||||||
|
__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