1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_exim4.git synced 2024-08-16 10:09:49 +02:00
ansible_role_exim4/README.md
2021-02-18 17:16:14 +01:00

5 KiB

ansible_role_exim4

Ansible role to configure exim4. By default you can tell exim4 that it will send mail via smarthost.

To do this you have at leaset set the smarthost FQDN in the variable: exim4__dc_smarthost:.

Example Playbook:

- name: run exim4 role
  hosts: localhost
  roles:
    - {role: dansible_role_exim, tags: exim4}
  vars:
    exim4__dc_smarthost: mx01.example.com

Test if it is working

To test if your exim4 configuration is working, maybe this will help:

mail': echo "This is a test" | mailx -s "Test Message" -v you@example.com

Testing

This role is tested with these github-action tests for different versions of differen linux systems. Linting is tested via travis-ci and the ansible-lint action. If you want to find out more about our tests, please have a look at the github marketplace.

test status Github Marketplace
Ansible Lint check ansible-lint action
Yamllint GitHub Actions yamllint gitHub actions
Ansible check debian:stable ansible test with debian stable
Ansible check debian:latest ansible test with debian latest
Ansible check debian:sid ansible test with debian sid
Ansible check debian:buster ansible test with debian buster
Ansible check debian:stretch ansible test with debian stretch
Ansible check ubuntu:latest ansible test with ubuntu latest
Ansible check ubuntu:bionic ansible test with ubuntu bionic
Ansible check centos:latest ansible test with centos latest
Ansible check centos:centos8 ansible test with centos centos8
Ansible check centos:latest ansible test with centos centos7