24 lines
579 B
YAML
24 lines
579 B
YAML
---
|
|
|
|
# Set up everything
|
|
# Usage: ansible-playbook playbooks/all.yml -l (testservers|prodservers) [-e forgejo_dump_path=/path/to/forgejo/dump]
|
|
|
|
- name: Set up common things
|
|
gather_facts: true
|
|
hosts: all
|
|
roles:
|
|
- role: common_handlers
|
|
tags: always
|
|
- role: common
|
|
tags: common
|
|
- role: setup_nftables
|
|
tags: common, nftables
|
|
|
|
- name: Setup Icinga2
|
|
ansible.builtin.import_playbook: icinga2.yml
|
|
|
|
- name: Set up lime2 server
|
|
ansible.builtin.import_playbook: lime2.yml
|
|
|
|
- name: Set up mail server
|
|
ansible.builtin.import_playbook: mailserver.yml
|