How to use Fabric with Salt-Stack Posted on 2015-09-20 in dev • Tagged with Python, Fabric, Salt-Stack, envdir I like to use Fabric in combination with Salt-Stack. My current setup looks like: from fabric.api import sudo, task, env, local, settings from fabric.contrib.files import upload_template from fabric.contrib.project import upload_project import os salt_task = hosts('@'.join([os.environ['AS_MASTER_USER'], os.environ['AS_MASTER_HOST']])) """Decorator to specify Salt-Stack ... Continue reading