snipt

Ctrl+h for KB shortcuts

Python

how to set fabric config settings in older versions of fabric

set(fab_hosts = ['production.server.com'])
https://snipt.net/embed/4e530831daf5c5bf6c106f221d40b727/
/raw/4e530831daf5c5bf6c106f221d40b727/
4e530831daf5c5bf6c106f221d40b727
python
Python
1
2019-07-13T19:03:25
True
False
False
/api/public/snipt/2335/
how-to-set-fabric-config-settings-in-older-versions-of-fabric
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nb">set</span><span class="p">(</span><span class="n">fab_hosts</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;production.server.com&#39;</span><span class="p">])</span> </span></pre></div> </td></tr></table>
fabfile, fabric, python