Closed apavanello closed 3 years ago
Hi,
Maked changes on source to create a correct README
and maked a allowed_keys
to be agnostic, in fact i don't need check the output of dokku --quiet resource:limit myapp
because the output will have only two returns, the full list of resources (even when no have limits/reserves) and the error (when the app doesn't exist), so i use the current output to generate the allowed_keys
list, when dokku add new resources no need to change the list
In test subject, i created a branch in my repo and added some tests and all have pass (you can check in my github actions https://github.com/apavanello/ansible-dokku/actions/runs/818794950), when #98 be fixed i can make another PR to implement the resources tests
Sorry for english mistakes,i still learning the language
@ltalirz all done, changes sugested are maded.
PR ref #103
Add two new lib files (
library/dokku_resource_limit.py
andlibrary/dokku_resource_reserve.py
) and update Readme