Re: [ansible-project] Re: Using include_tasks with the same file several times inside a role

2019-02-23 Thread Kai Stian Olstad
On 23.02.2019 23:07, Paulo Silva wrote: > It was a typo, even like that only the first one is executed. You have only shown us part of your code, since it's not working you have error(s) in that code. -- Kai Stian Olstad -- You received this message because you are subscribed to the Google

Re: [ansible-project] Re: Using include_tasks with the same file several times inside a role

2019-02-23 Thread Paulo Silva
It was a typo, even like that only the first one is executed. Regards A sábado, 23/02/2019, 15:22, BHARATHI DURAI RAJ escreveu: > Try this one > > - name: task with var1 > include_tasks: external.yaml > vars: > my_var: var1 > > - name: task with var2 > include_tasks: external.yaml >

[ansible-project] Re: Using include_tasks with the same file several times inside a role

2019-02-23 Thread BHARATHI DURAI RAJ
Try this one - name: task with var1 include_tasks: external.yaml vars: my_var: var1 - name: task with var2 include_tasks: external.yaml vars: my_var: var2 On Saturday, 23 February 2019 20:27:12 UTC+5:30, Paulo Silva wrote: > > Hi, > > Is it possible do to something like this