ansible/playbook.yml

48 lines
872 B
YAML

---
- hosts: all
gather_facts: true
become: true
vars:
base_domain: data.coop
letsencrypt_email: admin@data.coop
ldap_dn: "dc=data,dc=coop"
vagrant: "{{ ansible_virtualization_role == 'guest' }}"
letsencrypt_enabled: "{{ not vagrant }}"
smtp_host: "postfix"
smtp_port: "587"
enabled_services:
- nginx_proxy
- postfix
- openldap
- keycloak
- restic_backup
- nextcloud
- passit
- gitea
- matrix_riot
- privatebin
- codimd
- hedgedoc
- netdata
- docker_registry
- drone
- websites
- ulovliglogning-dk
- watchtower
- mailu
- portainer
- mastodon
- rallly
- membersystem
tasks:
- import_role:
name: ubuntu_base
tags:
- base_only
- import_role:
name: docker