Skip to content

empty /etc/sysconfig/iptables on centos8 #31

Description

@BigAndini

Hello,

I just tested your module on a centos8 box and it happens that the /etc/sysconfig/iptables file only contains some newlines instead of the configured iptables rules.

With some debugging I found the .iptables.lock file in /etc/ansible-iptables which needs to be removed to really update all rules. I went until the tempfile is written and the system tries to copy it into the right path. However I was not able to find the tmppath, yet to check what is written into the tmpfile.

Did you already test the module with centos8? I've checked to have the latest version of the file in my ansible library path.

Regards
Andi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions