2022-12-28 15:38:33 +00:00
|
|
|
# vim: ft=yaml.ansible
|
2018-05-08 19:09:24 +00:00
|
|
|
---
|
2018-05-10 09:19:54 +00:00
|
|
|
- hosts: all
|
2022-11-25 13:07:09 +00:00
|
|
|
gather_facts: true
|
2018-06-23 23:44:30 +00:00
|
|
|
become: true
|
2018-06-24 16:19:56 +00:00
|
|
|
vars:
|
2019-01-26 16:54:45 +00:00
|
|
|
ldap_dn: "dc=data,dc=coop"
|
|
|
|
|
2022-11-25 13:07:09 +00:00
|
|
|
vagrant: "{{ ansible_virtualization_role == 'guest' }}"
|
|
|
|
letsencrypt_enabled: "{{ not vagrant }}"
|
|
|
|
|
2022-12-04 21:45:32 +00:00
|
|
|
base_domain: "{{ 'datacoop.devel' if vagrant else 'data.coop' }}"
|
|
|
|
letsencrypt_email: "admin@{{ base_domain }}"
|
|
|
|
|
2019-03-05 14:17:53 +00:00
|
|
|
smtp_host: "postfix"
|
|
|
|
smtp_port: "587"
|
2018-05-10 09:19:54 +00:00
|
|
|
|
2019-01-19 13:56:23 +00:00
|
|
|
tasks:
|
|
|
|
- import_role:
|
|
|
|
name: ubuntu_base
|
2022-11-11 21:16:22 +00:00
|
|
|
tags:
|
2022-11-25 13:07:09 +00:00
|
|
|
- base_only
|
2019-01-19 13:56:23 +00:00
|
|
|
- import_role:
|
2019-03-05 12:13:16 +00:00
|
|
|
name: docker
|