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

Default model and version makes it impossible to fetch all templates #1

Open
frhvi1 opened this issue Oct 9, 2024 · 0 comments
Open

Comments

@frhvi1
Copy link

frhvi1 commented Oct 9, 2024

When fetching templates for a group I copied the example task:
#Usage Examples

  • name: Get all templates in a given group
    central_templates:
    action: get_all
    group_name: TEST_GROUP
    limit: 20
    offset: 0

But due to the default values being set to "ALL":
version=dict(required=False, type='str', default="ALL"),
model=dict(required=False, type='str', default="ALL"),

It means the task becomes:

  • name: Get all templates in a given group
    central_templates:
    action: get_all
    group_name: TEST_GROUP
    limit: 20
    offset: 0
    version: ALL
    model: ALL

and if you have templates that aren't set to "ALL", then it doesn't return those

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

No branches or pull requests

1 participant