I need to save a section from an ini file , copy a new version of the ini 
file and then replace the values.

for example








*[config]option1=value1option2=value2option3=value3[locations]location1=uklocation2=us*

save the config section, copy new ini file resulting in








*[config]option4=value4option5=value5option6=value6[locations]location1=francelocation2=china*

then replacing the config section with the original, ending up with








*[config]option1=value1option2=value2option3=value3[locations]location1=francelocation2=china*

-- 
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/d726f3e3-a35f-4ac2-ba88-1f755f86b1a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to