Re: [ansible-project] reading from files

2017-12-12 Thread coach rhca
Thanks Kai for the help always..will check on this ... On Tue, Dec 12, 2017 at 11:04 PM, Kai Stian Olstad < ansible-project+l...@olstad.com> wrote: > On Tuesday, 12 December 2017 07.28.53 CET coach.r...@gmail.com wrote: > > Hi, > > > > Trying to read the values from flat files and to use it as a

Re: [ansible-project] reading from files

2017-12-12 Thread Kai Stian Olstad
On Tuesday, 12 December 2017 07.28.53 CET coach.r...@gmail.com wrote: > Hi, > > Trying to read the values from flat files and to use it as a variables in > the ansible playbook , for example > > the flatfile is > #cat output > > example.com/development/testcaseone:v99 > > I want to use a

Re: [ansible-project] reading from files

2017-12-12 Thread coach rhca
i am trying to use the shell: cat testfile |sed 's/\//\n/g' and got the values in column wise ,could you please help as how i can get this values individually using register. On Tue, Dec 12, 2017 at 12:00 PM, coach rhca wrote: > just to add the flatfile is on a remote machine... > > On Tue, Dec

Re: [ansible-project] reading from files

2017-12-11 Thread coach rhca
just to add the flatfile is on a remote machine... On Tue, Dec 12, 2017 at 11:58 AM, wrote: > Hi, > > Trying to read the values from flat files and to use it as a variables in > the ansible playbook , for example > > the flatfile is > #cat output > > example.com/development/testcaseone:v99 > >

[ansible-project] reading from files

2017-12-11 Thread coach . rhca
Hi, Trying to read the values from flat files and to use it as a variables in the ansible playbook , for example the flatfile is #cat output example.com/development/testcaseone:v99 I want to use above values as a variables in the playbook , just like --- - hosts: vars: rt1: examp