From 1853b36042ada5ebd8ad5728a260ad5ff738aa4f Mon Sep 17 00:00:00 2001
From: Giancarlo Razzolini <grazzolini@archlinux.org>
Date: Tue, 29 Dec 2020 07:20:47 -0300
Subject: [PATCH] playbooks: Remove apollo playbook

Removed the apollo playbook.
---
 playbooks/apollo.yml | 55 --------------------------------------------
 1 file changed, 55 deletions(-)
 delete mode 100644 playbooks/apollo.yml

diff --git a/playbooks/apollo.yml b/playbooks/apollo.yml
deleted file mode 100644
index f9790c676..000000000
--- a/playbooks/apollo.yml
+++ /dev/null
@@ -1,55 +0,0 @@
----
-
-- name: "prepare postgres ssl hosts list"
-  hosts: apollo.archlinux.org
-  tasks:
-      - name: assign ipv4 addresses to fact postgres_ssl_hosts4
-        set_fact: postgres_ssl_hosts4="{{ [gemini4] + detected_ips }}"
-        vars:
-            gemini4: "{{ hostvars['gemini.archlinux.org']['ipv4_address'] }}/32"
-            detected_ips: "{{ groups['mirrors'] | map('extract', hostvars, ['ipv4_address']) | select() | map('regex_replace', '^(.+)$', '\\1/32') | list }}"
-        tags: ["postgres", "firewall"]
-      - name: assign ipv6 addresses to fact postgres_ssl_hosts6
-        set_fact: postgres_ssl_hosts6="{{ [gemini6] + detected_ips }}"
-        vars:
-            gemini6: "{{ hostvars['gemini.archlinux.org']['ipv6_address'] }}/128"
-            detected_ips: "{{ groups['mirrors'] | map('extract', hostvars, ['ipv6_address']) | select() | map('regex_replace', '^(.+)$', '\\1/128') | list }}"
-        tags: ["postgres", "firewall"]
-
-- name: setup apollo
-  hosts: apollo.archlinux.org
-  remote_user: root
-  roles:
-    - { role: common }
-    - { role: tools }
-    - { role: sshd }
-    - { role: root_ssh }
-    - { role: borg_client, tags: ["borg"] }
-    - { role: certbot }
-    - { role: nginx }
-    - { role: rspamd, tags: ["mail"] }
-    - { role: unbound, tags: ["mail"] }
-    - { role: postfix, postfix_relayhost: "mail.archlinux.org", postfix_smtpd_public: true, postfix_patchwork_enabled: true, tags: ["mail"] }
-    - { role: postfwd, tags: ['mail'] }
-    - role: postgres
-      postgres_listen_addresses: "*"
-      postgres_max_connections: 1000
-      postgres_ssl: 'on'
-      postgres_shared_buffers: 4096MB
-    - { role: mariadb, mariadb_query_cache_type: '0', mariadb_innodb_file_per_table: True }
-    - { role: sudo }
-    - { role: uwsgi }
-    - { role: php_fpm, php_extensions: ['bcmath', 'curl', 'gd', 'iconv', 'intl', 'mysqli', 'pdo_pgsql', 'pgsql', 'sockets', 'zip'], zend_extensions: ['opcache'] }
-    - { role: memcached }
-    - { role: archweb, archweb_planet: true }
-    - role: security_tracker
-      security_tracker_domain: "security.archlinux.org"
-      security_tracker_nginx_conf: '/etc/nginx/nginx.d/security-tracker.conf'
-      security_tracker_dir: "/srv/http/security-tracker"
-    - { role: mailman, mailman_domain: "lists.archlinux.org" }
-    - { role: patchwork }
-    - { role: grafana }
-    - { role: archwiki }
-    - { role: conf_archlinux }
-    - { role: fail2ban }
-    - { role: prometheus_exporters }
-- 
GitLab