dokku / ansible-dokku

Ansible modules for installing and configuring Dokku
MIT License
169 stars 44 forks source link

dokku_ports: set port instead of add port #91

Closed ltalirz closed 3 years ago

ltalirz commented 3 years ago

fix #90

Since new apps are created with a default port mapping (for http/https) already, adding new port mappings using proxy:ports-add has no effect on actual behavior since dokku will simply continue to use the port mappings defined initially.

In order to be of practical use, dokku_ports should use proxy:ports-set instead of proxy:ports-add.