Add support for ssh options in f5networks.f5_modules.bigip_sys_global module #2408
Labels
awaiting-user-action
issue awaiting user's response and/or requested action
enhancement
PRs or Issues for basic feature requests for an existing module.
untriaged
issue that needs an initial response from the developers
Is your feature request related to a problem? Please describe.
Currently have to use the bigip_cli_script module to run these commands:
modify /sys global-settings ssh-session-limit enabled
modify /sys global-settings ssh-max-session-limit 10
modify /sys global-settings ssh-max-session-limit-per-user 2
However, there is an issue where it will try to run the second 2 commands before the "ssh-session-limit enabled" command. This results in a failure as that has to be set to 'enabled' in order to run the other 2. For some reason Ansible is not running the commands in the order listed.
Describe the solution you'd like
Add support for these 3 ssh options in the bigip_sys_global module as found here in tmsh reference - https://clouddocs.f5.com/cli/tmsh-reference/latest/modules/sys/sys_global-settings.html
Describe alternatives you've considered
Separating into 2 separate tasks to run ssh-session-limit enabled first, then the other task executes the other 2 commands works to get around this problem for now.
The text was updated successfully, but these errors were encountered: