ansible-dokku
ansible-dokku copied to clipboard
Fix reading existing dokku docker options
The command dokku --quiet docker-options {app}
no longer exists, use dokku --quiet docker-options:report {app}
instead.
$ dokku --quiet docker-options:report {app}
Docker options build: --pull --build-arg test
Docker options deploy: --restart=on-failure:10
Docker options run:
Unfortunately the report
command outputs the options on a single line for each type (build, deploy, run). The options type is therefore a string instead of a list.
Hey Erik, just wanted to say thanks for all your contributions; I will try to find some time over the weekend to review them
The command dokku --quiet docker-options {app} no longer exists, use dokku --quiet docker-options:report {app} instead.
@josegonzalez Do you happen to know when this change was made? Just so that we can report the minimal dokku version the role is compatible with.
This was changed in 0.20.0: https://dokku.com/docs/appendices/0.20.0-migration-guide/
P.S. Just fixed CI https://github.com/dokku/ansible-dokku/pull/147
You code looks good to me - since I currently don't have a machine to test, would you mind adding a small test somewhere around here
I've added a simple test. 😊