1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-19 21:41:41 +02:00
infrastructure/playbooks/aur-dev.archlinux.org.yml
moson 9ff98d8701
New playbook for aurweb sandbox
Playbook allows us to provision an aurweb sandbox host.

Ref: aurweb/!752

Signed-off-by: moson <moson@archlinux.org>
2023-08-21 22:07:50 +02:00

21 lines
617 B
YAML

- name: Setup aur development host
hosts: '{{ aurdev_fqdn|default("none") }}'
remote_user: root
roles:
- { role: common, enable_zram_swap: true }
- { role: firewalld }
- { role: sshd }
- { role: root_ssh }
- { role: certbot }
- { role: nginx }
- { role: mariadb, mariadb_innodb_buffer_pool_size: '1G' }
- { role: sudo }
- { role: redis }
- { role: uwsgi }
- { role: aurweb, aurweb_domain: "{{ aurdev_fqdn }}", aurweb_environment_type: 'dev' }
- { role: fail2ban }
pre_tasks:
- name: Upgrade and reboot
include_tasks: tasks/include/upgrade-server.yml