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:
Matt Clay 2018-12-20 22:08:57 -08:00 committed by GitHub
parent 4b300189fd
commit 01833b6fb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 298 additions and 7 deletions

View file

@ -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