-
-
Save wraithan/1217923 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def live(): | |
env.hosts = api_call_that_gives_me_the_urls_to_the_hosts() | |
def agi_deploy(): | |
command = fab_lib.get_agi_status_for_asterisk_server() | |
print'running ', command, 'on hosts: ',ast_hostnames_as_tyger | |
print run(command, True) | |
""" | |
fab live agi_deploy | |
will run agi_deploy for each host in env.hosts set in the live task | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment