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

Flag to get return properties with underscores #865

Open
andy-maier opened this issue Jan 10, 2024 · 0 comments
Open

Flag to get return properties with underscores #865

andy-maier opened this issue Jan 10, 2024 · 0 comments

Comments

@andy-maier
Copy link
Member

We are trying to make life easier for Ansible users in the input parameters because they all have underscores instead of hyphens: With underscores, something like vars.boot_ftp_username is possible, while with hyphens it would have been vars['boot-ftp-username'].

On the return properties, many older modules are not translating the names of properties received from the HMC from hyphens to underscores. We have started doing that in some of the newer modules, but we need to keep older modules compatible.

This ticket is to add an optional input parameter return_underscores to the older modules that causes the names of properties in the module return value to be translated from hyphens to underscores.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants