Hi Everyone,
I am writing an ansible script to automate the task of oracle database
shutdown and startup. I am facing a difficulty in reading the environment
variables from the XML files.
Sample XML File:
[oracle@rac1 ContentsXML]$ more inventory.xml
12.1.0.2.0
2.1.0.6.0
with it.
On Saturday, May 16, 2020 at 2:57:04 PM UTC+5:30, Jean-Yves LENHOF wrote:
>
> There's no /etc/oratab on yours servers ?
>
> Regards,
>
>
> Le 16/05/2020 à 08:30, Akshay Bora a écrit :
>
> Hi Everyone,
>
> I am writing an ansible script to automate the task of oracle da
Thanks Dick Visser, I am trying that module.
On Saturday, May 16, 2020 at 12:00:07 PM UTC+5:30, Akshay Bora wrote:
>
> Hi Everyone,
>
> I am writing an ansible script to automate the task of oracle database
> shutdown and startup. I am facing a difficulty in reading the environme
: inventory.xml
> xpath: "/INVENTORY/HOME_LIST/HOME[@NAME='OraDB12Home1']"
> content: attribute
> register: out
>
> - set_fact:
> db12home: "{{ out.matches.0.HOME.LOC }}"
>
>
> On Sat, 16 May 2020 at 11:44, Akshay Bora
th: "/INVENTORY/HOME_LIST/HOME[@NAME='OraDB12Home1']"
> content: attribute
> register: out
>
> - set_fact:
> db12home: "{{ out.matches.0.HOME.LOC }}"
>
>
> On Sat, 16 May 2020 at 11:44, Akshay Bora wrote:
> >
> > Thanks
with it.
On Saturday, May 16, 2020 at 12:00:07 PM UTC+5:30, Akshay Bora wrote:
>
> Hi Everyone,
>
> I am writing an ansible script to automate the task of oracle database
> shutdown and startup. I am facing a difficulty in reading the environment
> variables from the XML files.
&
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
Hi People,
I am running the ansible playbook through AWX and its getting failed with
the subjected error. But the same playbook is running on other server
successfully. Kindly help to resolve the issue.
{
"ansible_facts": {},
"msg": "The following modules failed to execute: setup\n",