23 lines
553 B
YAML
23 lines
553 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
|
||
|
|
||
|
- name: Setup Icinga2
|
||
|
ansible.builtin.import_playbook: playbooks/icinga2.yml
|
||
|
|
||
|
- name: Set up lime2 server
|
||
|
ansible.builtin.import_playbook: playbooks/lime2.yml
|
||
|
|
||
|
- name: Set up mail server
|
||
|
ansible.builtin.import_playbook: playbooks/mailserver.yml
|