correct mail FROM
This commit is contained in:
parent
50f9086816
commit
a73973f69e
@ -1,2 +1,5 @@
|
||||
---
|
||||
# defaults file for cronie
|
||||
# defaults file for cronie
|
||||
|
||||
domain:
|
||||
name: toto
|
@ -6,4 +6,11 @@
|
||||
|
||||
- name: Enable cronie
|
||||
service: name=cronie.service enabled=yes state=started
|
||||
become: yes
|
||||
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