set mail aliases
This commit is contained in:
1 parent
5655e69e97
commit
5a43d1285f
1 file changed
+8
@@ -0,0 +1,8 @@
|
||||
- name: server | system_setup | create mail aliases
|
||||
lineinfile:
|
||||
path: "/etc/alias"
|
||||
state: present
|
||||
line: "root rene@tantooine.myfirewall.org" # not required. The line to insert/replace into the file. Required for C(state=present). If C(backrefs) is set, may contain backreferences that will get expanded with the C(regexp) capture groups if the regexp matches.
|
||||
|
||||
- name: server | system setup | generate aliases db
|
||||
command: newaliases
|
||||
Reference in new issue
Block a user