backup running postfix config
This commit is contained in:
@@ -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
|
- name: mailserver | postfix | configuration
|
||||||
shell:
|
shell:
|
||||||
cmd: "postconf {{item.key}}={{item.value}}"
|
cmd: "postconf {{item.key}}={{item.value}}"
|
||||||
|
|||||||
Reference in New Issue
Block a user