mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
ansible-test: pass --[skip-]tags to ansible-playbook
Thanks to Olaf Klischat for the idea.
This commit is contained in:
committed by
Matt Clay
parent
611fbea8ea
commit
d08ff86169
@@ -193,6 +193,14 @@ def parse_args():
|
||||
metavar='TASK',
|
||||
help='start at the specified task')
|
||||
|
||||
integration.add_argument('--tags',
|
||||
metavar='TAGS',
|
||||
help='only run plays and tasks tagged with these values')
|
||||
|
||||
integration.add_argument('--skip-tags',
|
||||
metavar='TAGS',
|
||||
help='only run plays and tasks whose tags do not match these values')
|
||||
|
||||
integration.add_argument('--allow-destructive',
|
||||
action='store_true',
|
||||
help='allow destructive tests (--local and --tox only)')
|
||||
|
||||
Reference in New Issue
Block a user