Add modification for buster and postgresql 11 requirements
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Eric Morino 2019-11-14 11:39:02 +01:00
parent 26dd244ae0
commit eb81c69327
3 changed files with 13 additions and 1 deletions

View File

@ -4,7 +4,10 @@
when: ansible_distribution_release == "jessie"
- include: packages_stretch.yml
when: ansible_distribution_major_version | version_compare('9', '>=')
when: ansible_distribution_major_version | version_compare('9', '=')
- include: packages_buster.yml
when: ansible_distribution_major_version | version_compare('10', '>=')
- include: config.yml

View File

@ -26,6 +26,7 @@
postgresql_user:
name: nrpe
password: '{{ postgresql_nrpe_password.stdout }}'
encrypted: yes
no_password_changes: yes
register: postgresql_create_nrpe_user
when: nrpe_evolix_config.stat.exists

View File

@ -0,0 +1,8 @@
---
- name: Install postgresql package
apt:
name: '{{item}}'
with_items:
- postgresql
- libdbd-pg-perl