-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathmain.yml
More file actions
33 lines (27 loc) · 935 Bytes
/
main.yml
File metadata and controls
33 lines (27 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
# This is separate so that Ansible marks this step as changed instead of the
# next one when the packages are present
- name: 'START | Update apt cache (Debian/Ubuntu)'
ansible.builtin.apt:
update_cache: true
when:
- ansible_os_family == 'Debian'
- name: 'START | Include vars specific to each OS family'
ansible.builtin.include_vars: "vars/{{ ansible_os_family }}.yml"
- name: 'Include Dovecot tasks'
ansible.builtin.include_tasks:
file: "dovecot.yml"
- name: 'Include Postfix tasks'
ansible.builtin.include_tasks:
file: "postfix.yml"
- name: 'Include SQL tasks'
ansible.builtin.include_tasks:
file: "sql.yml"
- name: 'Include Postgrey tasks'
ansible.builtin.include_tasks:
file: "postgrey.yml"
- name: 'Include example users tasks'
ansible.builtin.include_tasks:
file: "add_example_users.yml"
when:
- dovecot_add_example_users is defined and dovecot_add_example_users|bool