Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ssh options in f5networks.f5_modules.bigip_sys_global module #2408

Open
AugWin opened this issue May 29, 2024 · 2 comments
Open
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

Comments

@AugWin
Copy link

AugWin commented May 29, 2024

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.

@AugWin AugWin added enhancement PRs or Issues for basic feature requests for an existing module. untriaged issue that needs an initial response from the developers labels May 29, 2024
@pgouband
Copy link
Contributor

@pgouband pgouband added the awaiting-user-action issue awaiting user's response and/or requested action label May 30, 2024
@AugWin
Copy link
Author

AugWin commented May 30, 2024

Hi @pgouband. Thanks for your reply. I'm sorry - bigip_command is the module being used resulting in the out of order execution behavior described. I accidentally linked the incorrect module when I opened the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants