Exemplo n.º 1
0
def nginx_clean(ctx, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    clean_nginx(sshs, remote_path)
Exemplo n.º 2
0
def nginx_clean(ctx, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    clean_nginx(sshs, remote_path)
Exemplo n.º 3
0
def nginx_reload(ctx, local_path, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    reload_nginx(sshs, local_path, remote_path)
Exemplo n.º 4
0
def nginx_reload(ctx, local_path, remote_path, nginx_list, key_file, user):
    hosts = _load_nginx_hosts(nginx_list)
    sshs = [get_ssh(host, key_file, user) for host in hosts]
    reload_nginx(sshs, local_path, remote_path)