top | item 42001014

(no title)

chrisgoman | 1 year ago

Strongly do NOT recommend what we are doing

- https://github.com/chrisgo/fabric-example

- https://github.com/chrisgo/fabric2-example

discuss

order

mdaniel|1 year ago

I see what you mean https://github.com/chrisgo/fabric2-example/blob/159ca5ea1844...

Also, I am obligated to point it out every time I see it: `curl --fail` for life otherwise bash will cheerfully try and execute the 503 html that curl writes out https://github.com/chrisgo/fabric2-example/blob/159ca5ea1844...

chrisgoman|1 year ago

Thanks, will take a look at that curl thing. We are still using this and been working for us for ~15 years (python 2, ported to python 3) and this is just an example of how to take https://fabfile.org to the extreme but still is not the best way to do it. We only ~50 servers so it is not a massive fleet. The convenience of typing `fab <env> <role> <task>` to do things under control is still better than nothing :)