Commit 54a3777f authored by David Wilson's avatar David Wilson

ansible: blacklist everything except our own namespaces

Farewell, pointless roundtrips, we hardly knew ye.
parent b543b84e
......@@ -103,11 +103,8 @@ class StrategyModule(ansible.plugins.strategy.linear.StrategyModule):
def run(self, iterator, play_context, result=0):
self.router = mitogen.master.Router()
self.router.responder.blacklist('OpenSSL')
self.router.responder.blacklist('urllib3')
self.router.responder.blacklist('requests')
self.router.responder.blacklist('systemd')
self.router.responder.blacklist('selinux')
self.router.responder.whitelist_prefix('ansible')
self.router.responder.whitelist_prefix('ansible_mitogen')
self.listener = mitogen.unix.Listener(self.router)
os.environ['LISTENER_SOCKET_PATH'] = self.listener.path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment