aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nullmailer/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nullmailer/templates')
-rw-r--r--roles/nullmailer/templates/etc_nullmailer_adminaddr.j21
-rw-r--r--roles/nullmailer/templates/etc_nullmailer_defaultdomain.j21
-rw-r--r--roles/nullmailer/templates/etc_nullmailer_remotes.j22
-rw-r--r--roles/nullmailer/templates/mailname.j21
4 files changed, 5 insertions, 0 deletions
diff --git a/roles/nullmailer/templates/etc_nullmailer_adminaddr.j2 b/roles/nullmailer/templates/etc_nullmailer_adminaddr.j2
new file mode 100644
index 0000000..aac956b
--- /dev/null
+++ b/roles/nullmailer/templates/etc_nullmailer_adminaddr.j2
@@ -0,0 +1 @@
+{{ admin_email }}
diff --git a/roles/nullmailer/templates/etc_nullmailer_defaultdomain.j2 b/roles/nullmailer/templates/etc_nullmailer_defaultdomain.j2
new file mode 100644
index 0000000..f1e1018
--- /dev/null
+++ b/roles/nullmailer/templates/etc_nullmailer_defaultdomain.j2
@@ -0,0 +1 @@
+{{ email_domain }}
diff --git a/roles/nullmailer/templates/etc_nullmailer_remotes.j2 b/roles/nullmailer/templates/etc_nullmailer_remotes.j2
new file mode 100644
index 0000000..0e4f1ae
--- /dev/null
+++ b/roles/nullmailer/templates/etc_nullmailer_remotes.j2
@@ -0,0 +1,2 @@
+# {{ ansible_managed }}
+{{ nullmailer_smtp_host }} smtp --port=465 --ssl --user={{ nullmailer_smtp_user }} --pass={{ nullmailer_smtp_pass }}
diff --git a/roles/nullmailer/templates/mailname.j2 b/roles/nullmailer/templates/mailname.j2
new file mode 100644
index 0000000..b305ac1
--- /dev/null
+++ b/roles/nullmailer/templates/mailname.j2
@@ -0,0 +1 @@
+{{ ansible_fqdn }} \ No newline at end of file