diff --git a/lxc-php/tasks/php.yml b/lxc-php/tasks/php.yml index a51f0261..d13bb06b 100644 --- a/lxc-php/tasks/php.yml +++ b/lxc-php/tasks/php.yml @@ -95,6 +95,13 @@ notify: "Restart opensmtpd" when: name == 'php73' +- name: Configure mailname + lineinfile: + dest: "/var/lib/lxc/{{name}}/rootfs/etc/mailname" + line: "{{ansible_fqdn}}" + notify: "Restart opensmtpd" + when: name == 'php73' + - name: Configure timezone copy: dest: "/var/lib/lxc/{{name}}/rootfs/etc/timezone"