datacoop.ansible/playbook.yml

25 lines
517 B
YAML

# vim: ft=yaml.ansible
---
- hosts: all
gather_facts: true
become: true
vars:
ldap_dn: "dc=data,dc=coop"
vagrant: "{{ from_vagrant is defined and from_vagrant }}"
letsencrypt_enabled: "{{ not vagrant }}"
base_domain: "{{ 'datacoop.devel' if vagrant else 'data.coop' }}"
letsencrypt_email: "admin@{{ base_domain }}"
smtp_host: "postfix"
smtp_port: "587"
tasks:
- import_role:
name: ubuntu_base
tags:
- base_only
- import_role:
name: docker