linux-system-roles / postfix

An ansible role which configures postfix
https://linux-system-roles.github.io/postfix/
GNU General Public License v3.0
13 stars 19 forks source link

feat: Make the role work on Debian based systems #130

Closed Thulium-Drake closed 4 weeks ago

Thulium-Drake commented 1 month ago

Enhancement: Make role work on Debian

Reason: I have a few systems that run Debian and I wanted to configure Postfix on them in the same manner as I do RHEL based systems.

Result: Role now works on Debian (note that SELinux and Firewalld are not supported/tested)

Issue Tracker Tickets (Jira or BZ if any):

spetrosi commented 1 month ago

[citest]

Thulium-Drake commented 1 month ago

The CI errors don't seem related to this change?

MSG:

The task includes an option with an undefined variable. The error was: list object has no element 1. list object has no element 1

The error appears to be in '/WORKDIR/git-debian_compatiblet52xohsq/.collection/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/selinux.yml': line 28, column 11, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

        - name: Add the smtp related service ports to _postfix_selinux
          ^ here

    to retry, use: --limit @/tmp/tests_default.retry
richm commented 4 weeks ago

Will fix by https://github.com/linux-system-roles/postfix/pull/2 instead