[copr] master: fix the host_list issue in the dispatcher for terminating instances, too :( (f6508e3)

skvidal at fedoraproject.org skvidal at fedoraproject.org
Wed Jan 16 14:07:19 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit f6508e3a3120f496ef8234bb12b27cee069e9df9
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Jan 16 09:06:46 2013 -0500

    fix the host_list issue in the dispatcher for terminating instances, too :(


>---------------------------------------------------------------

 backend/dispatcher.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/backend/dispatcher.py b/backend/dispatcher.py
index 4b828b1..5fa6aa0 100644
--- a/backend/dispatcher.py
+++ b/backend/dispatcher.py
@@ -154,7 +154,7 @@ class Worker(multiprocessing.Process):
         stats = callbacks.AggregateStats()
         playbook_cb = SilentPlaybookCallbacks(verbose=False)
         runner_cb = callbacks.DefaultRunnerCallbacks()
-        play = ansible.playbook.PlayBook(host_list=[ip], stats=stats, playbook=self.opts.terminate_playbook, 
+        play = ansible.playbook.PlayBook(host_list=ip +',', stats=stats, playbook=self.opts.terminate_playbook, 
                              callbacks=playbook_cb, runner_callbacks=runner_cb, 
                              remote_user='root')
 



More information about the copr-devel mailing list