2022-12-29 21:13:31 +00:00
|
|
|
# vim: ft=yaml.ansible
|
2018-05-08 19:09:24 +00:00
|
|
|
---
|
2024-02-29 19:45:59 +00:00
|
|
|
- hosts: production
|
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"
|
|
|
|
|
2023-10-04 16:42:56 +00:00
|
|
|
vagrant: "{{ from_vagrant is defined and from_vagrant }}"
|
2022-11-25 13:07:09 +00:00
|
|
|
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
|
|
|
|
2024-02-18 16:18:54 +00:00
|
|
|
services_exclude:
|
|
|
|
- uptime_kuma
|
|
|
|
|
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
|