Merge pull request #13330 from AlanCoding/ask_me_for_tags

Fill in rest of ask_tags handling for WFJT module
This commit is contained in:
Alan Rominger
2022-12-15 10:59:17 -05:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -789,6 +789,7 @@ def main():
allow_simultaneous=dict(type='bool'), allow_simultaneous=dict(type='bool'),
ask_variables_on_launch=dict(type='bool'), ask_variables_on_launch=dict(type='bool'),
ask_labels_on_launch=dict(type='bool', aliases=['ask_labels']), ask_labels_on_launch=dict(type='bool', aliases=['ask_labels']),
ask_tags_on_launch=dict(type='bool'),
ask_skip_tags_on_launch=dict(type='bool', aliases=['ask_skip_tags']), ask_skip_tags_on_launch=dict(type='bool', aliases=['ask_skip_tags']),
inventory=dict(), inventory=dict(),
limit=dict(), limit=dict(),
@@ -873,6 +874,7 @@ def main():
'ask_limit_on_launch', 'ask_limit_on_launch',
'ask_variables_on_launch', 'ask_variables_on_launch',
'ask_labels_on_launch', 'ask_labels_on_launch',
'ask_tags_on_launch',
'ask_skip_tags_on_launch', 'ask_skip_tags_on_launch',
'webhook_service', 'webhook_service',
'job_tags', 'job_tags',

View File

@@ -245,6 +245,7 @@
ask_inventory_on_launch: true ask_inventory_on_launch: true
ask_scm_branch_on_launch: true ask_scm_branch_on_launch: true
ask_limit_on_launch: true ask_limit_on_launch: true
ask_tags_on_launch: true
ask_variables_on_launch: true ask_variables_on_launch: true
register: result register: result
@@ -263,6 +264,7 @@
ask_inventory_on_launch: true ask_inventory_on_launch: true
ask_scm_branch_on_launch: true ask_scm_branch_on_launch: true
ask_limit_on_launch: true ask_limit_on_launch: true
ask_tags_on_launch: true
ask_variables_on_launch: true ask_variables_on_launch: true
register: bad_label_results register: bad_label_results
ignore_errors: true ignore_errors: true
@@ -278,6 +280,7 @@
ask_inventory_on_launch: false ask_inventory_on_launch: false
ask_scm_branch_on_launch: false ask_scm_branch_on_launch: false
ask_limit_on_launch: false ask_limit_on_launch: false
ask_tags_on_launch: false
ask_variables_on_launch: false ask_variables_on_launch: false
state: present state: present