diff options
author | Ricardo Carrillo Cruz <ricardo.carrillo.cruz@gmail.com> | 2017-08-17 18:15:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-17 18:15:59 +0200 |
commit | 746b433c29d099839a5c744f76505a02245c9014 (patch) | |
tree | 1dbfc67c57d691d14ce44ccd61cb8996c0814db3 /test/runner | |
parent | 119a79cf0c0cff5e78c6d58faf27679417baf4c2 (diff) | |
download | ansible-746b433c29d099839a5c744f76505a02245c9014.tar.gz |
Remove 'net' hardcoding on ansible-test executor (#28334)
We need to run network-integration against platform agnostic modules,
which they all are named as net_* .
There is a hardcoding in executor where if prefix is 'net' the hosts is set
to all, removing these lines to have desired behaviour.
Diffstat (limited to 'test/runner')
-rw-r--r-- | test/runner/lib/executor.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/runner/lib/executor.py b/test/runner/lib/executor.py index eb8c2bd14a..6c530a4f83 100644 --- a/test/runner/lib/executor.py +++ b/test/runner/lib/executor.py @@ -681,8 +681,6 @@ def command_integration_role(args, target, start_at_task): inventory = args.inventory or 'inventory.networking' hosts = target.name[:target.name.find('_')] gather_facts = False - if hosts == 'net': - hosts = 'all' else: inventory = 'inventory' hosts = 'testhost' |