Hey guys,
I use the following template file .j2 to update config file on remote host.
*Template file: pg_hba.conf.j2*
{% for slave in groups['slaves'] %}
host replication {{ postgresql_streaming_user.name
}} {{ hostvars[slave]*['ansible_all_ipv4_addresses']*
}}/32 {{ postgresql_default_ipv4_auth_method }}
{% endfor %}
*Configuration file: pg_hba.conf.j2*
host database user * [u'*10.123.214.7*']*/32
md5
How I can adapt my template file to remove this character in my
configuration file *[u' ….. **'] ?*
Thanks in advance.
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CABG8FoP%3DHeamvvuTuArL%2B1%3D269EGhgYBncXTP%3DBfZ50GMWtJqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.