Browse Source

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

rotate_elasticsearch_logs
Ludovic Poujol 11 months ago
committed by Gitea
parent
commit
974bc653f3
  1. 1
      CHANGELOG.md
  2. 2
      lxc-php/tasks/mail_opensmtpd.yml
  3. 2
      lxc-php/tasks/mail_ssmtp.yml
  4. 2
      lxc-php/tasks/php56.yml

1
CHANGELOG.md

@ -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

2
lxc-php/tasks/mail_opensmtpd.yml

@ -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:

2
lxc-php/tasks/mail_ssmtp.yml

@ -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:

2
lxc-php/tasks/php56.yml

@ -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:

Loading…
Cancel
Save