Add modification for buster and postgresql 11 requirements
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
26dd244ae0
commit
eb81c69327
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
8
postgresql/tasks/packages_buster.yml
Normal file
8
postgresql/tasks/packages_buster.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
|
||||
- name: Install postgresql package
|
||||
apt:
|
||||
name: '{{item}}'
|
||||
with_items:
|
||||
- postgresql
|
||||
- libdbd-pg-perl
|
Loading…
Reference in a new issue