Re: [ansible-project] uri POST with xml template

2018-11-06 Thread Léo-San
> What file did you upload with curl? When I upload the file with curl where I replaced the variables with what it needs to be later, it works. Also if I just leave the variables inside, it will be just uploaded with the names of the variables. I am just using the "inventory_hostname" and the

Re: [ansible-project] uri POST with xml template

2018-11-06 Thread Dick Visser
On Tue, 6 Nov 2018 at 14:23, Léo-San wrote: > > Hey everyone, > > so, I am trying to upload an xml template with the uri module, but I cannot > find a way which is working. Mostly I am getting the error "Error in XML > file. Possible mismatch between resource specified in the URL and XML