<p>I use <a href="https://gist.github.com/ruzickap/c072cdfe480ca52bd32b6c4fcf8397a2" rel="nofollow noreferrer">https://gist.github.com/ruzickap/c072cdfe480ca52bd32b6c4fcf8397a2</a>
for deploy kubernetes</p>

<p>Need:</p>

<pre><code># Create kubespray config file
cat &gt; ~/.kubespray.yml &lt;&lt; EOF
kubespray_git_repo: "https://github.com/kubespray/kubespray.git"
kubespray_path: "$PWD/kubespray"
loglevel: "info"
EOF
</code></pre>

<p>Can I use kubespray without <code>kubespray_git_repo</code>, <code>kubespray_path</code> ?</p>

Anton Patsev
<blockquote>
  <p>Can i use kubespray without kubespray_git_repo, kubespray_path ?</p>
</blockquote>

<p>Without question, yes; arguably it will <em>most often</em> be used without those things (I have actually never even heard of <code>kubespray prepare</code>):</p>

<ol>
<li><a href="https://github.com/kubernetes-incubator/kubespray/archive/v2.5.0.tar.gz" rel="nofollow noreferrer">download a release</a></li>
<li><code>pip install ansible</code> (if you don't already have ansible; you can also <code>brew install ansible</code> if you are on a Mac and/or have concerns about <code>pip</code> messing up your global pythonpath)</li>
<li><a href="https://github.com/kubernetes-incubator/kubespray/tree/v2.5.0#ansible" rel="nofollow noreferrer">use <code>ansible-playbook</code></a></li>
<li>declare victory</li>
</ol>
