This repository has been archived on 2023-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
homeserver-ansible/run.yml

55 lines
955 B
YAML
Raw Normal View History

2022-02-27 16:05:34 -05:00
---
2022-03-01 17:43:44 -05:00
- hosts: sv
2022-02-27 16:05:34 -05:00
become: yes
2022-03-02 19:58:31 -05:00
gather_facts: no
2022-03-01 17:43:44 -05:00
2022-03-02 19:58:31 -05:00
pre_tasks:
- import_tasks: tasks/set_host.yml
- import_tasks: tasks/ssh_port.yml
2022-03-01 17:43:44 -05:00
2022-03-02 19:58:31 -05:00
roles:
- role: system
2022-03-01 17:43:44 -05:00
- role: filesystems
when: enable_filesystems
- role: networking/connection
when: enable_connection
2022-03-02 19:58:31 -05:00
- role: firewall
when: enable_firewall
2022-03-01 17:43:44 -05:00
- role: networking/ddclient
when: enable_ddclient
- role: networking/nameserver
when: enable_nameserver
2022-03-02 19:58:31 -05:00
- role: services/sftp
when: enable_sftpr
- role: services/mail
when: enable_mail
2022-03-01 17:43:44 -05:00
- role: networking/ssl
when: enable_ssl
2022-03-02 19:58:31 -05:00
- role: services/webserver
when: enable_webserver
2022-03-01 17:43:44 -05:00
- role: services/gitea
when: enable_gitea
- role: services/wiki
when: enable_wiki
- role: services/synapse
when: enable_synapse
- role: services/website
when: enable_website
2022-03-02 19:58:31 -05:00
- role: dotfiles
when: enable_dotfiles