From 746b433c29d099839a5c744f76505a02245c9014 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Thu, 17 Aug 2017 18:15:59 +0200 Subject: [PATCH] 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. --- test/runner/lib/executor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/runner/lib/executor.py b/test/runner/lib/executor.py index eb8c2bd14a8..6c530a4f838 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'