ソースを参照

Explicitly install postgres-9.6 and fix monit pid-file location for it.

Thomas Buck 5年前
コミット
4cf67e7aed
2個のファイルの変更2行の追加2行の削除
  1. 1
    1
      roles/common/tasks/postgres.yml
  2. 1
    1
      roles/monitoring/files/etc_monit_conf.d_pgsql

+ 1
- 1
roles/common/tasks/postgres.yml ファイルの表示

@@ -7,7 +7,7 @@
7 7
     state: present
8 8
   vars:
9 9
     packages:
10
-    - postgresql
10
+    - postgresql-9.6
11 11
     - python-psycopg2
12 12
   tags:
13 13
     - dependencies

+ 1
- 1
roles/monitoring/files/etc_monit_conf.d_pgsql ファイルの表示

@@ -1,4 +1,4 @@
1
-check process postgres with pidfile /var/run/postgresql/9.4-main.pid
1
+check process postgres with pidfile /var/run/postgresql/9.6-main.pid
2 2
   group database
3 3
   start program = "systemctl start postgresql"
4 4
   stop program = "systemctl stop postgresql"

読み込み中…
キャンセル
保存