I am having some problem while doing changes in INI files on many servers, with help of ansible.
I have multiple INI files on different servers, and the values will be different for same option on that INI file.
For Eg. a configuration for a server is -
resources.multidb.secondary.adapter = "XX_XXX" resources.multidb.secondary... = "127.0.0.0"
resources.multidb.secondary.dbname = "XXXXX"
configuration for another server is-
resources.multidb.secondary.adapter = "YY_YYY" resources.multidb.secondary... = "127.0.0.0"
resources.multidb.secondary.dbname = "YYYYY"
Here on both the ini files values are getting changed. So, is there any easiest way to manage them?
Like any template or roles I can create, which will be simplest.