using ansible looking for some idea for changing values directly on the destination system instead of copying files from source.
example:
I have many files in tmpl format on the destination system and would like to change the values related to this <%= applicationname_zk_quorum %>
by using ansible variable's dynamically.
/applactionname/conf/zk.properties.tmpl
[root@applicationname-7 ~]# cat /applicationname/conf/zk.properties.tmpl
#nodes in quorum
applicationname.zk.quorum=<%= applicationname_zk_quorum %>
#applicationname.zk.quorum=zook1:6666,zook2:6666,zook3:6666
applicationname.zk.node=/applicationnames/node/
#Session timeout in milliseconds
applicationname.zk.sessionTimeout=72000
I understand that ansible variables only support for handling yaml and don't have any idea if anything it is possible to apply something for tmpl file.
thanks a lot for all your support and guidance!!!.