evomaintenance: install PG dependencies only when needed

This commit is contained in:
Jérémy Lecour 2020-02-25 10:43:23 +01:00 committed by Jérémy Lecour
parent c06fe36796
commit ff7f8669ef
2 changed files with 10 additions and 1 deletions

View file

@ -51,6 +51,7 @@ The **patch** part changes incrementally at each release.
* evolinux-base: use "evolinux_internal_group" for SSH authentication
* evomaintenance: Turn on API by default (instead of DB)
* evomaintenance: upstream version 0.6.0
* evomaintenance: install PG dependencies only when needed
* lxc-php: refactor tasks for better maintainability
* lxc: rely on lxc_container module instead of command module
* lxc: remove useless loop in apt execution

View file

@ -3,13 +3,21 @@
- name: Dependencies are installed
apt:
name:
- postgresql-client
- sudo
- curl
state: present
tags:
- evomaintenance
- name: PG dependencies are installed
apt:
name:
- postgresql-client
state: present
when: evomaintenance_hook_db
tags:
- evomaintenance
- include_role:
name: evolix/remount-usr
tags: