Ah, I missed that line.

Thanks.


Am 05.11.18 um 16:18 schrieb Kai Stian Olstad:
> On Monday, 5 November 2018 16:06:19 CET Uwe Sauter wrote:
>> As far as I can tell there is no such loop in the template:
> 
> It is, i just formatted it to show it more clearly. 
> 
> 
>> [root@awx02 mysql]# cat templates/my.cnf.j2
>> [mysqld]
>> datadir=/var/lib/mysql
>> socket=/var/lib/mysql/mysql.sock
>> user=mysql
>> binlog_format=ROW
>> bind-address="{{ ansible_default_ipv4.address }}"
>> default_storage_engine=innodb
>> innodb_autoinc_lock_mode=2
>> innodb_flush_log_at_trx_commit=0
>> innodb_buffer_pool_size=122M
>> wsrep_provider=/usr/lib64/galera-3/libgalera_smm.so
>> wsrep_provider_options="gcache.size=300M; gcache.page_size=300M"
>> wsrep_cluster_name="galera_cluster1"
>> wsrep_cluster_address="gcomm://{% for host in
>> groups['mysql']%}{{hostvars[host]['ansible_default_ipv4']['address']}}{%
>> if not loop.last %},{% endif %}{% endfor %}"
> 
> The loop is here.
> 
> 
>> wsrep_sst_method=rsync
>> server_id=1
>> wsrep_node_address="{{ ansible_default_ipv4.address }}"
>> wsrep_node_name="{{ ansible_hostname }}"
>> [mysql_safe]
>> log-error=/var/log/mysqld.log
>> pid-file=/var/run/mysqld/mysqld.pid
>>
>>
>> From which message did you get that loop in the template?
> 
> See above.
> 
> 

-- 
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 post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c517b71c-f9e0-7b87-9971-c3ed3fc3d195%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to