I have the following pool configuration in Ansible:
_pool_config: "{{ (environment_hosts | default(['localhost'])) | join(':2100,') }}:2100{% if ssl_enabled | bool %},sslSettings=TLS{% endif %}"
Which on the server resolves to that:
server1:2100,server2:2100
I am now adding an additional process on server1 and server2 listening on port 2200 so would like to change the above to resolve to this instead:
server1:2100,server1:2200,server2:2100,server2:2200
And need some help amending the join please
I'm using Ansible 2.3