From 3c794dc4f0dc6de527f473238b8c94f3fb69e675 Mon Sep 17 00:00:00 2001 From: Tristan PILAT Date: Wed, 18 Sep 2019 18:24:00 +0200 Subject: [PATCH] Add mailname configuration --- lxc-php/tasks/php.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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"