correct mail FROM
This commit is contained in:
parent
50f9086816
commit
a73973f69e
@ -1,2 +1,5 @@
|
||||
---
|
||||
# defaults file for cronie
|
||||
|
||||
domain:
|
||||
name: toto
|
@ -7,3 +7,10 @@
|
||||
- name: Enable cronie
|
||||
service: name=cronie.service enabled=yes state=started
|
||||
become: yes
|
||||
|
||||
- name: Set MAILFROM
|
||||
become: true
|
||||
lineinfile:
|
||||
dest: /var/spool/cron/root
|
||||
regexp: "MAILFROM="
|
||||
line: "MAILFROM= {{inventory_hostname}}@{{domain.name}}"
|
Loading…
Reference in New Issue
Block a user