diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-07-25 14:04:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-07-25 14:04:37 +0300 |
commit | bc2b7a8e28c0f615afdd4f753503a86e4e56c37a (patch) | |
tree | c07b60ee0224fdb75f99c9493f06b52951b801dd /ansible/debmirror.yml | |
parent | 27f995fdfea9ca0fb3c7542837a93e0a8e8c9592 (diff) | |
download | ansibleness-bc2b7a8e28c0f615afdd4f753503a86e4e56c37a.tar.gz |
fix: debmirror setup to be automatic
Diffstat (limited to 'ansible/debmirror.yml')
-rw-r--r-- | ansible/debmirror.yml | 11 |
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') }}" |