1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-11-12 22:48:59 +01:00
Commit Graph

574 Commits

Author SHA1 Message Date
Bartłomiej Piotrowski
bc54e0950e Add host_vars for new mirrors 2017-09-06 10:01:07 +02:00
Christian Rebischke
bea98fd4af simplified deployment 2017-09-05 21:58:27 +02:00
Giancarlo Razzolini
3231e370c4
playbooks: Change all the hosts names to FQDN.
We have changed our ansible configuration and policy to only use
fully qualified domain names for hostnames. Update the playbooks
to use them.
2017-09-05 15:33:05 -03:00
Florian Pritz
71cd6fff20
Consolidate installation playbook
Hostnames are now set in host_vars and the same playbook is used for
all hosts. If one host needs to be reinstalled the playbook can be run
with "--limit $hostname".

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-05 20:08:39 +02:00
Bartłomiej Piotrowski
61ac2a661b Configure Mexican mirror 2017-09-05 14:29:11 +02:00
Florian Pritz
dea3906255 spampd: Enable compiled rules
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-05 14:16:21 +02:00
Bartłomiej Piotrowski
a0bdddc441 hosts: use FQDN 2017-09-05 14:09:42 +02:00
Bartłomiej Piotrowski
5c1834b470 hosts: add two more PIA servers 2017-09-05 09:02:52 +02:00
Bartłomiej Piotrowski
d72d00b20a hosts: stop using groups as aliases 2017-09-04 12:56:50 +02:00
Bartłomiej Piotrowski
53b80c4130 Add servers hosted at PIA 2017-09-04 12:52:59 +02:00
Bartłomiej Piotrowski
2586c1c477 common: run on all hosts 2017-09-04 12:52:02 +02:00
Bartłomiej Piotrowski
b0dafcf4d5 hetzner: configure networking 2017-09-04 12:50:40 +02:00
Bartłomiej Piotrowski
f327b50050 hosts: add hetzner group 2017-09-04 12:49:53 +02:00
Bartłomiej Piotrowski
890026c2ed common: make configure network optional 2017-09-04 12:47:09 +02:00
Florian Pritz
2ea30e9de9
spampd: Restart sa-update when updater script changes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-04 10:59:12 +02:00
Florian Pritz
569a6b1863
spampd: Deploy SA local.cf from nymeria
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-04 10:56:50 +02:00
Florian Pritz
678f997bf2
dovecot/postfix: Add letsencrypt hook
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-03 19:08:20 +02:00
Florian Pritz
6e8fd89280
tools: Add ccze
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-03 15:01:03 +02:00
Florian Pritz
44df04363d
postfwd: Fix permissions of config file
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-03 14:31:22 +02:00
Florian Pritz
6dc7aa2d18
dovecot/postfix: Fix SSL domain
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-03 14:31:09 +02:00
Florian Pritz
05c21eb144
orion: Make postfix listen publicly
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-03 14:30:42 +02:00
Florian Pritz
bda9867f3b
postfix: Add devnull alias
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-02 15:03:29 +02:00
Florian Pritz
ec141ac64f Add additional files from nymeria
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-02 14:59:26 +02:00
Florian Pritz
2ca4ce0890 spampd: Ensure the sa-update keyring directory exists
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-02 14:59:26 +02:00
Florian Pritz
bb1fee7aeb postfix: Add relay_transport_map for patchwork relaying
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-02 14:59:26 +02:00
Florian Pritz
d32ce42128 postfix: Remove compat_maps
Forwards to an old IP, not needed any more.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-02 14:59:26 +02:00
Florian Pritz
7c85b76c9c Move mail server to orion
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-02 14:59:26 +02:00
Florian Pritz
1d0a50f30e dovecot: Remove SSLv2
It's so dead you can't even mention it anymore without causing errors.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-02 14:59:26 +02:00
Florian Pritz
6e9ea5663a Add users from nymeria
Needed for the new email setup.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-02 14:13:48 +02:00
Florian Pritz
d517ffbf4b archusers: Make ssh key optional
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-02 14:13:48 +02:00
Giancarlo Razzolini
3938172b6e
roles/tols: Add tcpdump to sysadmin tools and also improve readbility
Added tcpdump to the tolls role and also made it more readable by using
an items list.
2017-09-01 13:25:43 -03:00
Florian Pritz
2f93303013
mariadb: Add zabbix-agent support
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-08-30 18:19:58 +02:00
Giancarlo Razzolini
a4f24abf19
roles/postfix: Remove the task that install the patchwork script
Since the script was moved to the patchwork role, the script is being
installed there.
2017-08-24 12:12:25 -03:00
Giancarlo Razzolini
58e730ce0b
roles/postfix: Removed the patchwork script from the postfix role
The patchwork script is now on the patchwork role.
2017-08-24 12:09:15 -03:00
Giancarlo Razzolini
f1682d8550
Revert "roles/patchwork: Change the parsemail script to run as the patchwork user"
This reverts commit 392e10a45f9633d4ab0b533908de1f2c85e7f8f4.
2017-08-24 09:29:32 -03:00
Giancarlo Razzolini
392e10a45f
roles/patchwork: Change the parsemail script to run as the patchwork user
Use sudo to make the parsemail script to run as the patchwork user to avoid
any potential permission issues.
2017-08-23 22:56:12 -03:00
Giancarlo Razzolini
f9b870aee3
roles/patchwork: Install the parsemail script
Created a new task for installing the parsemail script that is called
by postfix.
2017-08-23 22:55:23 -03:00
Giancarlo Razzolini
b83a1dbbd3
roles/patchwork: Add parsemail script
Create a script that calls the patchwork bundled script for parsing
emails. This script is called by postfix when it receives an email
for patchwork.
2017-08-23 22:47:36 -03:00
Jan Alexander Steffens (heftig)
69e70f14f3
roles/archbuild: Merge distro swap.conf 2017-08-23 22:08:16 +02:00
Giancarlo Razzolini
1e0bc7aeea
roles/patchwork: Syncdb task removal and notification timer and service addition
The syncdb command was removed on django 1.9, and we can't use it for the initial
database migration. Also, add tasks for installing the notification timer and service
units and enable the timer unit.
2017-08-23 15:32:48 -03:00
Giancarlo Razzolini
730f0b66f0
roles/patchwork: Add the option to force HTTPS on all links
Since the archlinux.org domain uses STS preloading and we set STS
headers for all our web services, set the option to make all links
sent from patchwork to use HTTPS.
2017-08-23 15:31:17 -03:00
Giancarlo Razzolini
c6ef59843f
roles/patchwork: Change version and add the notification frequency variable
The deployed patchwork version as been changed to the 2.0.0rc4, and also,
a variable was added that define how often the notification timer runs.
2017-08-23 11:10:46 -03:00
Giancarlo Razzolini
43734a9b6c
roles/patchwork: Add a patchwork notification timer
Patchwork optionally can send notifications. Configure it to run
at the patchwork_notifications_frequency, which by default should run
at the same frequency as NOTIFICATION_DELAY_MINUTES which is 10 minutes.
2017-08-23 11:05:02 -03:00
Giancarlo Razzolini
701de3720a
roles/patchwork: Add a systemd service for running patchwork notifications
Patchwork can optionally send patch notifications. Create a service for
running the cron patchwork command.
2017-08-23 11:03:04 -03:00
Giancarlo Razzolini
f0736897ae
ansible.cfg: Enable the profile_tasks callback plugin
The profile_tasks plugin shows how much time the book run took and
also breaks down an individual view of how much time each task took
to complete.
2017-08-22 17:49:44 -03:00
Florian Pritz
c78d5cf059
dbscripts: Update whitelisted IP of archlinux.de
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-08-22 21:44:40 +02:00
Florian Pritz
94f8b01c58
arch-boxes: Use qemu-headless
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-08-22 16:23:39 +02:00
Florian Pritz
48b6f09fcb
arch-boxes: Move git checkout to subdir
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-08-22 16:23:25 +02:00
Florian Pritz
02bc587ebe
soyuz: Add arch-boxes role
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-08-22 16:13:18 +02:00
Florian Pritz
4d3a73a544 Merge branch 'shibumi-dev' 2017-08-22 16:02:59 +02:00