mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 13:21:25 -07:00
Add env
command to ansible-test and run in CI. (#50176)
* Add `env` command to ansible-test and run in CI. * Avoid unnecessary docker pull.
This commit is contained in:
parent
4b300189fd
commit
01833b6fb1
8 changed files with 298 additions and 7 deletions
|
@ -737,10 +737,13 @@ class MissingEnvironmentVariable(ApplicationError):
|
|||
|
||||
class CommonConfig(object):
|
||||
"""Configuration common to all commands."""
|
||||
def __init__(self, args):
|
||||
def __init__(self, args, command):
|
||||
"""
|
||||
:type args: any
|
||||
:type command: str
|
||||
"""
|
||||
self.command = command
|
||||
|
||||
self.color = args.color # type: bool
|
||||
self.explain = args.explain # type: bool
|
||||
self.verbosity = args.verbosity # type: int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue