backup running postfix config
This commit is contained in:
1 parent
2bf9be7e3b
commit
4beb5401cf
1 file changed
+3
@@ -1,3 +1,6 @@
|
||||
- name: mailserver | postfix | backup running config
|
||||
shell:
|
||||
cmd: "postconf >> /etc/postfix/main.cf-{{ ansible_date_time.date }}-{{ ansbile_date_time.time}}"
|
||||
- name: mailserver | postfix | configuration
|
||||
shell:
|
||||
cmd: "postconf {{item.key}}={{item.value}}"
|
||||
|
||||
Reference in new issue
Block a user