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."


On Thu, 27 May 2021 at 14:22, 'Ozgur G' via Ansible Project
<[email protected]> wrote:
>
> Hi,
> I'm using ansible on RHEL 7 remote servers to open up some ports temporarily.
>
> I'm looking at the official documentation but it is not clear to me whether 
> the timeout set in integer is whether in seconds or minutes.
>
> Do you have any thoughts (before I start figuring out by myself)?
>
> Ref:
> https://docs.ansible.com/ansible/latest/collections/ansible/posix/firewalld_module.html
>
> Thanks,
> Ozgur
>
> --
> 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/c76c6bc4-2e0d-4e19-b77f-33d87cf342d5n%40googlegroups.com.



-- 
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

-- 
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/CAL8fbwOuQobkP9C%3DZarePyDkN4aGw5GF4Bs_zjy%2B190VpKQZxg%40mail.gmail.com.

Reply via email to