Просмотр исходного кода

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

Thomas Buck 6 лет назад
Родитель
Сommit
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
     state: present
7
     state: present
8
   vars:
8
   vars:
9
     packages:
9
     packages:
10
-    - postgresql
10
+    - postgresql-9.6
11
     - python-psycopg2
11
     - python-psycopg2
12
   tags:
12
   tags:
13
     - dependencies
13
     - dependencies

+ 1
- 1
roles/monitoring/files/etc_monit_conf.d_pgsql Просмотреть файл

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
   group database
2
   group database
3
   start program = "systemctl start postgresql"
3
   start program = "systemctl start postgresql"
4
   stop program = "systemctl stop postgresql"
4
   stop program = "systemctl stop postgresql"

Загрузка…
Отмена
Сохранить