Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dokku_ports filters out existing mapping (#107)
PR #91 introduced a bug was introduced, where it would remove existing port-mappings. ### Example role ```yaml - name: configure ports dokku_ports: app: example-app mappings: - http:80:9000 - https:443:9000 state: present ``` In the case that port 80 was already mapped in dokku, the check on existing mappings would result in the removal from the mapping on dokku, as only port 443 would be included in the `ports-set` command. On a next run the exact opposite would occur, port 443 would be removed and port 80 would be added. This PR simply removes the check on existing mappings
- Loading branch information