Re: [ansible-project] Re: unable to fit the piece of code in ansible

2018-04-13 Thread Bishwajit Samanta
Ansible:: 2.4 is the version i am using. On Friday, April 13, 2018 at 11:40:02 AM UTC+5:30, Biswadip Dutta wrote: > > Can you please let me know which Ansible version you are using and what > error you are getting? > > Regards, > Biswadip Dutta > > On Thu, Apr 12, 2018 at 7:16 PM, Bishwajit

Re: [ansible-project] Re: unable to fit the piece of code in ansible

2018-04-13 Thread Biswadip Dutta
Can you please let me know which Ansible version you are using and what error you are getting? Regards, Biswadip Dutta On Thu, Apr 12, 2018 at 7:16 PM, Bishwajit Samanta < bishwajitsamanta1...@gmail.com> wrote: > Thanks Karl, for your reply. Problem statement ::- > > My job is to find out the

Re: [ansible-project] Re: unable to fit the piece of code in ansible

2018-04-12 Thread Bishwajit Samanta
Thanks Karl, for your reply. Problem statement ::- My job is to find out the hostname which belongs to hostclass ess, which in this case the answer is host002. hostinfo: 'host001': ip: 192.168.43.10 hostclass: 'puppet' 'host002': ip: 192.168.43.11 hostclass: 'ess'

Re: [ansible-project] Re: unable to fit the piece of code in ansible

2018-04-12 Thread Karl Auer
Can I suggest that you describe what you want to achieve. That is, describe the end result that you are seeking. That is more likely to get a useful response. Regards, K. On Thu, Apr 12, 2018 at 9:58 PM, Bishwajit Samanta < bishwajitsamanta1...@gmail.com> wrote: > Any one can suggest any idea

[ansible-project] Re: unable to fit the piece of code in ansible

2018-04-12 Thread Bishwajit Samanta
Any one can suggest any idea please.. On Thursday, April 12, 2018 at 8:21:32 AM UTC+5:30, Bishwajit Samanta wrote: > > Hi all, > > I am a beginner in ansible. If anyone can help me in finding the answer. > It would be great. My problem was finding a phrase in ansible which one of > the person