Sorry, I'm a beginner and haven't used the relevant modules, so I can't
give specific advice.

But this page for 2.4 details a bunch of things you may find useful.

Or maybe someone with more experience and a better idea could leap in with
a better answer :-)

Regards, K.


On Thu, Apr 19, 2018 at 8:00 PM, radha gupta <[email protected]> wrote:

> i have created a variable file in which i have create a variable for e.g a
> =10 which is working fine but i want to update the value of the variable as
> per the playbook (suppose playbook modifying the value a = 20) and want to
> use that value in another playbook(as a =20) but when i am trying to do the
> same variable is giving the old value(a=10) rather than the new
> value(a=20).
>
> On Thursday, April 19, 2018 at 2:30:51 PM UTC+5:30, Karl Auer wrote:
>>
>> write them into files that are loaded by other playbooks. That's
>> basically what inventory is, but you have all sorts of other vars files...
>>
>> On Thu, Apr 19, 2018 at 6:40 PM, radha gupta <[email protected]> wrote:
>>
>>> is it possible with any other way that we can achieve it
>>>
>>> On Thursday, April 19, 2018 at 1:42:16 PM UTC+5:30, radha gupta wrote:
>>>>
>>>> Hello Guys,
>>>>
>>>>
>>>> Can you please help me on how can we pass the value of a variables form
>>>> one playbook to another.
>>>>
>>> --
>>> 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/ms
>>> gid/ansible-project/f4ab2ecd-e92e-4239-bfe1-57af0dda8bb9%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/f4ab2ecd-e92e-4239-bfe1-57af0dda8bb9%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Karl Auer
>>
>> Email  : [email protected]
>> Website: http://2pisoftware.com
>>
>> GPG/PGP : 958A 2647 6C44 D376 3D63 86A5 FFB2 20BC 0257 5816
>> Previous: F0AB 6C70 A49D 1927 6E05 81E7 AD95 268F 2AB6 40EA
>>
> --
> 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/da75efa6-bbdd-4aff-b44c-3d64d641df49%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/da75efa6-bbdd-4aff-b44c-3d64d641df49%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Karl Auer

Email  : [email protected]
Website: http://2pisoftware.com

GPG/PGP : 958A 2647 6C44 D376 3D63 86A5 FFB2 20BC 0257 5816
Previous: F0AB 6C70 A49D 1927 6E05 81E7 AD95 268F 2AB6 40EA

-- 
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/CA%2B%2BT08TEBHt90%3D7Hva9uf8b_Sb%2BqO_%3DJyyyq472HvvXwsme_Jw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to