home-server/site.yaml

80 lines
1.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
# The home-server project produces a multi-purpose setup using Ansible.
# Copyright © 20182023 Y. Gablin, under the GPL-3.0-or-later license.
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
- hosts: back
remote_user: root
roles:
- _maintenance_start
- init
- transmission_back
- ntp
- cleanupdate
- printscan
- sockets
- front
- postinstall
- msmtp
- role: nfs
when: (env == 'prod')
- role: transmission_nfs
when: (env == 'prod')
- pyruse
- nftables_back
- postgresql
- slapd
- php
- ldap
# - wallabag_back
- dotclear_back
# - movim_back
- prosody_back
- ihmgit_back
- nextcloud_back
- ssh
- dovecot
- mediaplayer
- motion_back
- role: front_run
when: (env == 'prod')
- role: acme_back
when: (env == 'prod')
- nextcloud_davfs
- _maintenance_stop
- hosts: front
remote_user: root
roles:
- _maintenance_start
- init
- cleanupdate
- postinstall
- ldap
- iodine
- role: ddclient.inc
when: (env == 'dev')
- role: ddclient_HE_example
when: (env == 'prod')
- role: ddclient_FreeDNS_example
when: (env == 'prod')
- dmz_nginx
- ssowat
- php
- ssh
- transmission
- dmz_exim
- dmz_haproxy
- dmz_ihmgit_front
- dmz_nextcloud_front
- dmz_dotclear_front
- dmz_ihmldap
- dmz_prosody_front
- dmz_motion_front
# - dmz_wallabag_front
- acme_front
- privatebin
# - dmz_movim_front
- nftables_front
- _maintenance_stop