lxc-php: Do --no-install-recommends for ssmtp/opensmtpd

This commit is contained in:
Ludovic Poujol 2020-06-05 11:01:22 +02:00
parent 186f3d90b9
commit ebffccae59
4 changed files with 4 additions and 3 deletions

View File

@ -22,6 +22,7 @@ The **patch** part changes incrementally at each release.
### Changed
* lxc-php: Do --no-install-recommends for ssmtp/opensmtpd
* packweb-apache: Don't turn on mod-evasive emails by default
* haproxy: chroot and socket path are configurable
* redis: create sudoers file if missing

View File

@ -3,7 +3,7 @@
- name: "{{ lxc_php_version }} - Install opensmtpd"
lxc_container:
name: "{{ lxc_php_version }}"
container_command: "DEBIAN_FRONTEND=noninteractive apt install -y opensmtpd"
container_command: "DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y opensmtpd"
- name: "{{ lxc_php_version }} - Configure opensmtpd (in the container)"
template:

View File

@ -3,7 +3,7 @@
- name: "{{ lxc_php_version }} - Install ssmtp"
lxc_container:
name: "{{ lxc_php_version }}"
container_command: "DEBIAN_FRONTEND=noninteractive apt install -y ssmtp"
container_command: "DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y ssmtp "
- name: "{{ lxc_php_version }} - Configure ssmtp"
template:

View File

@ -3,7 +3,7 @@
- name: "{{ lxc_php_version }} - Install PHP packages"
lxc_container:
name: "{{ lxc_php_version }}"
container_command: "DEBIAN_FRONTEND=noninteractive apt install -y php5-fpm php5-cli php5-gd php5-imap php5-ldap php5-mcrypt php5-mysql php5-pgsql php5-sqlite php-gettext php5-intl php5-curl php5-ssh2 libphp-phpmailer ssmtp"
container_command: "DEBIAN_FRONTEND=noninteractive apt install -y php5-fpm php5-cli php5-gd php5-imap php5-ldap php5-mcrypt php5-mysql php5-pgsql php5-sqlite php-gettext php5-intl php5-curl php5-ssh2 libphp-phpmailer"
- name: "{{ lxc_php_version }} - Copy evolinux PHP configuration"
template: