This won't work. Since you can cache ```haproxy_servers``` and ```haproxy_server_nodes```, every time you get to this method and change the port, you change the same object. So in the end, only the last call will be valid.