Hi, > I'm not sure but it looks like several of the parameters for that > ansible module map to the arguments of firewall-cmd: > https://firewalld.org/documentation/man-pages/firewall-cmd.html > > In that case, the syntax would be: > "either a number (of seconds) or number followed by one of characters > s (seconds), m (minutes), h (hours), for example 20m or 1h."
that won't work, since the `timeout` parameter is of type integer. Also the module uses some Python library called `firewall` (apparently not the one you can install with pip) and not firewall-cmd. Unfortunately I have no idea what this library is and where it comes from, at least the module code itself gives no hint what unit `timeout` is using... In any case, I think it's worth creating a docs issue in https://github.com/ansible-collections/ansible.posix/issues for this. This really should be documented... Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/20210527154704.5f3bf5a0%40utsjoki.
