Re: [ansible-project] pick the hostname dynamically from facts and match with inventory hostname and if matched then run the command

2018-03-07 Thread rraka1002
Thanks Kai. On Wednesday, March 7, 2018 at 12:17:34 PM UTC+5:30, Kai Stian Olstad wrote: > > On Wednesday, 7 March 2018 06.31.27 CET rrak...@gmail.com > wrote: > > I'm looking for an idea to spill the hostname infromation geting from > facts > > and run the command if the matches the hostname

Re: [ansible-project] pick the hostname dynamically from facts and match with inventory hostname and if matched then run the command

2018-03-06 Thread Kai Stian Olstad
On Wednesday, 7 March 2018 06.31.27 CET rraka1...@gmail.com wrote: > I'm looking for an idea to spill the hostname infromation geting from facts > and run the command if the matches the hostname provided in inventory. > Saying that "myhostname" value should be picked & matched from inventory > on