26 lines
578 B
YAML
26 lines
578 B
YAML
---
|
|
- name: Deploy data.coop services
|
|
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'
|
|
|
|
tasks:
|
|
- name: Setup host basics
|
|
ansible.builtin.import_role:
|
|
name: ubuntu_base
|
|
tags:
|
|
- base_only
|
|
- name: Deploy docker containers (services)
|
|
ansible.builtin.import_role:
|
|
name: docker
|