summaryrefslogtreecommitdiffstats
path: root/lib/ansible_helper.rb
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2014-12-12 09:23:14 -0500
committerThomas Wiest <twiest@users.noreply.github.com>2014-12-12 09:23:14 -0500
commitffe702b2e85278d7a1625b9fae33695360aff3ed (patch)
treedff6a02b0883306ef42a7b1721298bc03962d710 /lib/ansible_helper.rb
parent95ae631e6e5f2230a912d65d7add0178e7878079 (diff)
parentf929f3f94c7c89e40f9c8e2b85293f496101aebe (diff)
downloadopenshift-ffe702b2e85278d7a1625b9fae33695360aff3ed.tar.gz
openshift-ffe702b2e85278d7a1625b9fae33695360aff3ed.tar.bz2
openshift-ffe702b2e85278d7a1625b9fae33695360aff3ed.tar.xz
openshift-ffe702b2e85278d7a1625b9fae33695360aff3ed.zip
Merge pull request #32 from akram/master
Adding AWS support to openshift-ansible module
Diffstat (limited to 'lib/ansible_helper.rb')
-rw-r--r--lib/ansible_helper.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ansible_helper.rb b/lib/ansible_helper.rb
index 76af73b0d..080c9d00b 100644
--- a/lib/ansible_helper.rb
+++ b/lib/ansible_helper.rb
@@ -25,7 +25,6 @@ module OpenShift
tmpfile = Tempfile.open('extra_vars') { |f| f.write(@extra_vars.to_json); f}
cmds = []
-
#cmds << 'set -x'
cmds << %Q[export ANSIBLE_FILTER_PLUGINS="#{Dir.pwd}/filter_plugins"]
@@ -35,8 +34,7 @@ module OpenShift
# We need pipelining off so that we can do sudo to enable the root account
cmds << %Q[export ANSIBLE_SSH_PIPELINING='#{@pipelining.to_s}']
- cmds << %Q[time -p ansible-playbook -i #{@inventory} #{@verbosity} #{playbook} --extra-vars '@#{tmpfile.path}']
-
+ cmds << %Q[time ansible-playbook -i #{@inventory} #{@verbosity} #{playbook} --extra-vars '@#{tmpfile.path}' ]
cmd = cmds.join(' ; ')
pid = spawn(cmd, :out => $stdout, :err => $stderr, :close_others => true)