I'm installing a piece of software that requires me to edit a user=xyz line 
into a monolithic config file that is .ini like in format.

[function-x]

# user=myuserhere

 

[function-y]
# other stuff here
# more stuff here

 

[function-z]
# user=myuserhere



So suppose I have a config that requires me to uncomment the line in 
[function-Z] and substitute in the right value for the username.

How do you specify which of the two identical lines in the file that you 
want to edit ?
Any suggestions ?




-- 
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/b1e62369-aa9d-4ae4-b962-ce7b466d1908%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to