mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Uncomment to print all IPs
This commit is contained in:
parent
2fa0a1062c
commit
5bdf934872
1 changed files with 6 additions and 0 deletions
6
fabfile.py
vendored
6
fabfile.py
vendored
|
@ -86,6 +86,12 @@ def do_roledefs(split=False):
|
|||
def list_do():
|
||||
droplets = assign_digitalocean_roledefs(split=True)
|
||||
pprint(droplets)
|
||||
|
||||
# Uncomment below to print all IP addresses
|
||||
# for group in droplets.values():
|
||||
# for server in group:
|
||||
# if 'address' in server:
|
||||
# print(server['address'])
|
||||
|
||||
doapi = digitalocean.Manager(token=django_settings.DO_TOKEN_FABRIC)
|
||||
droplets = doapi.get_all_droplets()
|
||||
|
|
Loading…
Add table
Reference in a new issue