UpCloudLtd / upcloud-ansible

Dynamic inventory and modules for managing servers via UpCloud's API
50 stars 17 forks source link

Configurable timeout param #23

Closed PopoSensei closed 4 years ago

PopoSensei commented 4 years ago

Add default_timeout param to upcloud.ini ansible settings file. With this PR users can configure their timeout in the .ini file or as UPCLOUD_API_TIMEOUT env variable.

Darep commented 4 years ago

If it works, LGTM 😄

Future idea: Would be nice to have timeout as argument for individual methods, too, like set 2 min timeout for create server -call 😊

PopoSensei commented 4 years ago

If it works, LGTM 😄

Future idea: Would be nice to have timeout as argument for individual methods, too, like set 2 min timeout for create server -call 😊

Added that as new issue, since IMO: it's a great idea!

Will merge this now 😸