ansible/playbook.yml

26 lines
578 B
YAML
Raw Normal View History

2018-05-08 19:09:24 +00:00
---
2022-11-26 09:47:37 +00:00
- name: Deploy data.coop services
hosts: all
gather_facts: true
2018-06-23 23:44:30 +00:00
become: true
vars:
base_domain: data.coop
letsencrypt_email: admin@data.coop
2022-11-26 08:52:41 +00:00
ldap_dn: dc=data,dc=coop
vagrant: "{{ ansible_virtualization_role == 'guest' }}"
2022-11-26 08:52:41 +00:00
letsencrypt_enabled: '{{ not vagrant }}'
2022-11-26 08:52:41 +00:00
smtp_host: postfix
smtp_port: '587'
2018-05-10 09:19:54 +00:00
tasks:
2022-11-26 09:47:37 +00:00
- name: Setup host basics
ansible.builtin.import_role:
name: ubuntu_base
2022-11-11 21:16:22 +00:00
tags:
- 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