Merge pull request #42 from jap/ubuntu-18

Add support for Ubuntu 18.04
This commit is contained in:
Jeff Geerling 2018-05-11 09:19:03 -05:00 committed by GitHub
commit 66e8af0adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -8,6 +8,9 @@ env:
- distro: centos6
postgresql_bin_dir: /usr/bin
postgresql_data_dir: /var/lib/pgsql/data
- distro: ubuntu1804
postgresql_bin_dir: /usr/lib/postgresql/10/bin
postgresql_data_dir: /var/lib/postgresql/10/main
- distro: ubuntu1604
postgresql_bin_dir: /usr/lib/postgresql/9.5/bin
postgresql_data_dir: /var/lib/postgresql/9.5/main

10
vars/Ubuntu-18.yml Normal file
View File

@ -0,0 +1,10 @@
---
__postgresql_version: "10"
__postgresql_data_dir: "/var/lib/postgresql/{{ __postgresql_version }}/main"
__postgresql_bin_path: "/usr/lib/postgresql/{{ __postgresql_version }}/bin"
__postgresql_config_path: "/etc/postgresql/{{ __postgresql_version }}/main"
__postgresql_daemon: postgresql
__postgresql_packages:
- postgresql
- postgresql-contrib
- libpq-dev