Hello. Consider I have this variable list that can contain as little as 1 and up to 4 items.
ldapservers: - server1 - server2 Consider this line in my ldap.conf template. URI ldap://{{ ldapservers(' ') }}/ I would like the resulting file to look like this: URI ldap://server1/ ldap://server2/ I know I can use "join" with something like this, but how do I keep the "URI" the " ldap://" and the trailing "/" consistent without adding them to the variable. URI ldap://{{ ldap_srv_fqdn|join(' ') }}/ Thanks in advance. Mike -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAD8F6EndrOwpvRuOYWXauBQQ4xUs7-piNzwzNT1867AtaZLXmg%40mail.gmail.com.