mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-09-19 21:41:41 +02:00
9ff98d8701
Playbook allows us to provision an aurweb sandbox host. Ref: aurweb/!752 Signed-off-by: moson <moson@archlinux.org>
21 lines
617 B
YAML
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
|