2020-04-01 15:56:32 +02:00
|
|
|
---
|
|
|
|
|
2023-10-31 17:44:55 +01:00
|
|
|
- name: "{{ lxc_php_container_name }} - Install ssmtp"
|
2023-03-20 23:33:19 +01:00
|
|
|
community.general.lxc_container:
|
2023-10-31 17:44:55 +01:00
|
|
|
name: "{{ lxc_php_container_name }}"
|
2023-07-10 15:27:27 +02:00
|
|
|
container_command: "DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --yes --force-yes ssmtp "
|
2020-04-08 17:58:42 +02:00
|
|
|
|
2023-10-31 17:44:55 +01:00
|
|
|
- name: "{{ lxc_php_container_name }} - Configure ssmtp"
|
2023-03-20 23:33:19 +01:00
|
|
|
ansible.builtin.template:
|
2020-04-01 15:56:32 +02:00
|
|
|
src: ssmtp.conf.j2
|
2023-03-19 11:50:58 +01:00
|
|
|
dest: "{{ lxc_rootfs }}/etc/ssmtp/ssmtp.conf"
|
2020-04-01 15:56:32 +02:00
|
|
|
mode: "0644"
|