mirror of
https://github.com/roles-ansible/ansible_role_exim4.git
synced 2024-08-16 10:09:49 +02:00
26 lines
658 B
YAML
26 lines
658 B
YAML
---
|
|
- name: Perform versionscheck if enabled
|
|
ansible.builtin.include_tasks: versioncheck.yml
|
|
when: submodules_versioncheck|bool
|
|
|
|
- name: Load a variable file based on OS Family
|
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
|
vars:
|
|
params:
|
|
files:
|
|
- "{{ ansible_os_family }}.yml"
|
|
- default.yml
|
|
paths:
|
|
- 'vars'
|
|
|
|
- name: exim4 installation
|
|
ansible.builtin.include_tasks: installation.yml
|
|
|
|
- name: exim4 configuration
|
|
ansible.builtin.include_tasks: configuration.yml
|
|
|
|
- name: systemctl start exim4
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
name: "{{ exim4__daemon }}"
|
|
state: started
|