-
Notifications
You must be signed in to change notification settings - Fork 14
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
Should assert that requires variables are present - rhsm #7
Comments
This is unfortunately difficult to do, because of the many ways that subscription-manager can be used. The underlying ansible module for this task is In this case, though, I think the problem is not with this role itself (it correctly does nothing when there's nothing to do based on the values of e.g. |
It might be worth at least contacting the upstream maintainer to ask them that question about empty-string hostname. I can't imagine that it should be supported. |
I took a closer look at this today, and I think the role's already doing everything it can reasonably do here. I like the idea of asking the maintainer about the empty hostname being supported, and I think I'll just ask the question in the form of a pull request adding validation to prevent it. |
If you run the RHSM role without passing in required fields, it will hang, seemingly waiting for user input
The text was updated successfully, but these errors were encountered: