From 70734f5968f54e4031c0b41b4311795e0aa5f063 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 19 Apr 2012 09:21:21 -0400 Subject: [PATCH] Update bin/ansible to fix usage of inventory API + no more verbose option --- bin/ansible | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ansible b/bin/ansible index 9eb5d205d2c..1a227b35319 100755 --- a/bin/ansible +++ b/bin/ansible @@ -104,7 +104,7 @@ class Cli(object): module_args="jid=%s" % jid, remote_user=old_runner.remote_user, remote_pass=old_runner.remote_pass, inventory=old_runner.inventory, timeout=old_runner.timeout, forks=old_runner.forks, - pattern='*', callbacks=self.silent_callbacks, verbose=True, + pattern='*', callbacks=self.silent_callbacks, ) # ---------------------------------------------- @@ -140,7 +140,7 @@ class Cli(object): runner.inventory.restrict_to(poll_hosts) polling_runner = self.get_polling_runner(runner, jid) poll_results = polling_runner.run() - runner.inventory.lift_restrictions() + runner.inventory.lift_restriction() if poll_results is None: break for (host, host_result) in poll_results['contacted'].iteritems():