Ansible append text to line in certain section in file : I would like to know if there is a way using Ansible to append text to the end of a line in certain section of a file, an example is going to clarify what I want to do:
Think of a file like this:

    [section01]
    path = /home/section01
    read only = yes
    list = yes
    uid = apache
    gid = apache
    hosts deny = 0.0.0.0/0.0.0.0
    hosts allow = mexico,usa,canada
    
    [section02]
    path = /home/section02
    read only = yes
    list = yes
    uid = apache
    gid = apache
    hosts deny = 0.0.0.0/0.0.0.0
    hosts allow = mexico,usa,canada
    
    [section03]
    path = /home/section03
    read only = yes
    list = yes
    uid = apache
    gid = apache
    hosts deny = 0.0.0.0/0.0.0.0
    hosts allow = mexico,usa,canada

I would like to add "brazil" on host_allow in [section02] to get this "new file"

    [section01]
    path = /home/section01
    read only = yes
    list = yes
    uid = apache
    gid = apache
    hosts deny = 0.0.0.0/0.0.0.0
    hosts allow = mexico,usa,canada
    
    [section02]
    path = /home/section02
    read only = yes
    list = yes
    uid = apache
    gid = apache
    hosts deny = 0.0.0.0/0.0.0.0
    hosts allow = mexico,usa,canada,brazil
    
    [section03]
    path = /home/section03
    read only = yes
    list = yes
    uid = apache
    gid = apache
    hosts deny = 0.0.0.0/0.0.0.0
    hosts allow = mexico,usa,canada

I really appreciate your help