Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Argument choise absence. #757

Open
BrotherLavarius opened this issue Jul 21, 2020 · 0 comments
Open

Argument choise absence. #757

BrotherLavarius opened this issue Jul 21, 2020 · 0 comments

Comments

@BrotherLavarius
Copy link

@click.option('--status', type=click.Choice(['any', 'error', 'success']),

But by looking in awx there is started for job_templates

"notification_templates_started": "/api/v2/job_templates/160/notification_templates_started/",
"notification_templates_success": "/api/v2/job_templates/160/notification_templates_success/",
"notification_templates_error": "/api/v2/job_templates/160/notification_templates_error/",

if you make an ansible module using directly associate_notification_template it will break when transferring 'any'

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

No branches or pull requests

1 participant