ansible-roles/lxc-php/tasks/mail_ssmtp.yml
David Prevot fa35cb6d8f
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2596|4|2592|6|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/292//ansiblelint">Evolix » ansible-roles » unstable #292</a>
gitea/ansible-roles/pipeline/head This commit looks good
Use --force-yes for lxc-php so it can run on Jessie
2023-07-10 15:27:27 +02:00

13 lines
408 B
YAML

---
- name: "{{ lxc_php_version }} - Install ssmtp"
community.general.lxc_container:
name: "{{ lxc_php_version }}"
container_command: "DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --yes --force-yes ssmtp "
- name: "{{ lxc_php_version }} - Configure ssmtp"
ansible.builtin.template:
src: ssmtp.conf.j2
dest: "{{ lxc_rootfs }}/etc/ssmtp/ssmtp.conf"
mode: "0644"