16 lines
210 B
Python
16 lines
210 B
Python
import yaml
|
|
#import cloud
|
|
|
|
y = yaml.safe_load(open("config.yaml", "r"))
|
|
|
|
print(dict(y[0]).keys())
|
|
|
|
for config in y:
|
|
print(config["SITE"])
|
|
# c = cloud.cloud(config.API_TOKEN)
|
|
|
|
|
|
# print(c.getVMList())
|
|
|
|
|
|
|