summaryrefslogtreecommitdiff
path: root/ansible/debmirror.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/debmirror.yml')
-rw-r--r--ansible/debmirror.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/debmirror.yml b/ansible/debmirror.yml
index dd87060..1bf297a 100644
--- a/ansible/debmirror.yml
+++ b/ansible/debmirror.yml
@@ -8,6 +8,8 @@
tags: [apache]
- role: self-updating-system
- role: debian-mirror
+ tags: [mirror]
+ - role: smarthost-client
vars:
hostname: debmirror
debian_codename: buster
@@ -17,6 +19,7 @@
unix_users:
- username: liw
comment: Lars Wirzenius
+ sudo: yes
authorized_keys: |
{{ liw_ssh_pub }}
- username: debmirror
@@ -30,3 +33,11 @@
owner: debmirror
ownermail: liw@liw.fi
letsencrypt: no
+
+ mailname: debmirror.liw.fi
+ timezone: Europe/Helsinki
+
+ relayhost: pieni.net:587
+ smarthost: pieni.net
+ smarthost_user: pienirelay
+ smarthost_password: "{{ lookup('pipe', 'pass show pieni.net/pienirelay') }}"