Re: [ansible-project] Read the values from file and store in variable.

2020-05-26 Thread Sivakumar Saravanamuthu
Hi Why can't you grep the required output using shell and store in >> remote server. Thank you. Regards, Siva On Tue, 26 May 2020 at 16:14, Akshay Bora wrote: > Hi All, > > I have a file named as /etc/oraInst.loc. The file contents are as below. > > inventory_loc=/u01/app/oraInventory >

[ansible-project] Read the values from file and store in variable.

2020-05-26 Thread Akshay Bora
Hi All, I have a file named as /etc/oraInst.loc. The file contents are as below. inventory_loc=/u01/app/oraInventory inst_group=oinstall *I need to store the value of inventory_loc , that is ,/u01/app/oraInventory in any variable.* These files are at remote host and not on ansible controller