[ansible-project] Need help in upgrading application using ansible in windows operating system

2019-11-24 Thread Shashidhar Reddy
Hi Team, I need help in upgrading windows application using ansible, can you please help with playbook to achieve this. Thanks a lot in advance. Operating System Windows7 /Shashi -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

Re: [ansible-project] how do we read a set_fact variable of a dynamic host into different play localhost ?

2019-11-24 Thread Vladimir Botka
On Sun, 24 Nov 2019 04:01:16 -0800 (PST) Shifa Shaikh wrote: > - name: Play 2 > hosts: desthosts > tasks: > - set_fact: > storerec: "{{storerec | default('') + 'Hello ' + inventory_hostname + > '\n'}}" > with_fileglob: > - "{{ playbook_dir }}/tmpfiles/*" > > -

[ansible-project] how do we read a set_fact variable of a dynamic host into different play localhost ?

2019-11-24 Thread Shifa Shaikh
Here is my requirement: - I have a playbook where I add the dynamic host to group "desthosts" in [Play 1] - In [Play 2] desthosts group I append a set_fact variable "storerecords". - In [Play 3] I try to read set_fact "storerecords" of Play 2 however, I get