2018-05-08 19:09:24 +00:00
|
|
|
---
|
2022-11-26 09:47:37 +00:00
|
|
|
- name: Deploy data.coop services
|
|
|
|
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
|
|
|
base_domain: data.coop
|
2022-07-23 13:13:14 +00:00
|
|
|
letsencrypt_email: admin@data.coop
|
2022-11-26 08:52:41 +00:00
|
|
|
ldap_dn: dc=data,dc=coop
|
2019-01-26 16:54:45 +00:00
|
|
|
|
2022-11-25 13:07:09 +00:00
|
|
|
vagrant: "{{ ansible_virtualization_role == 'guest' }}"
|
2022-11-26 08:52:41 +00:00
|
|
|
letsencrypt_enabled: '{{ not vagrant }}'
|
2022-11-25 13:07:09 +00:00
|
|
|
|
2022-11-26 08:52:41 +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:
|
2022-11-26 09:47:37 +00:00
|
|
|
- name: Setup host basics
|
|
|
|
ansible.builtin.import_role:
|
2019-01-19 13:56:23 +00:00
|
|
|
name: ubuntu_base
|
2022-11-11 21:16:22 +00:00
|
|
|
tags:
|
2022-11-25 13:07:09 +00:00
|
|
|
- base_only
|
2022-11-26 09:47:37 +00:00
|
|
|
- name: Deploy docker containers (services)
|
|
|
|
ansible.builtin.import_role:
|
2019-03-05 12:13:16 +00:00
|
|
|
name: docker
|