diff options
Diffstat (limited to 'ansible/roles')
-rw-r--r-- | ansible/roles/postfix-satellite/defaults/main.yml | 1 | ||||
-rw-r--r-- | ansible/roles/postfix-satellite/tasks/postfix-satellite.yml | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/postfix-satellite/defaults/main.yml b/ansible/roles/postfix-satellite/defaults/main.yml new file mode 100644 index 0000000..e25f846 --- /dev/null +++ b/ansible/roles/postfix-satellite/defaults/main.yml @@ -0,0 +1 @@ +postfix_satellite__mynetworks: "127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128" diff --git a/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml b/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml index a92250a..8a11a84 100644 --- a/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml +++ b/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml @@ -22,6 +22,8 @@ value: "{{ postfix_satellite__myorigin }}" - key: "mydestination" value: "" + - key: "mynetworks" + value: "{{ postfix_satellite__mynetworks }}" - key: "smtp_sasl_auth_enable" value: "yes" - key: "smtp_sasl_password_maps" |