Skip to content

Latest commit

 

History

History
68 lines (38 loc) · 1.11 KB

README.md

File metadata and controls

68 lines (38 loc) · 1.11 KB

Get FMW Domain Structure

Role reads domain configuration in order to create in-memory inventory of each host which is part of the domain. So you can apply any subsequent roles against each host within domain.

Requirements

Tested with weblogic 10.3.6 (FMW 11.1.1.6)

Role Variables

NODEMANAGER_DOMAINS: "/opt/oracle/admin/nodemanager/common/nodemanager.domains"
WEBLOGIC_USER: "oracle"

Example Playbook

site.yml:

- hosts: adminserver
  serial: 1 #this one is important to be able to gather info from more than 1 domain at one run
  roles:
    - dborysenko.get-fmw-domain-structure

hosts:

[adminserver]
adminsrv.example.com

[singlehosts]

[weblogic]

[all]

[all:children]
adminserver
singlehosts
weblogic

[all:vars]
ansible_user=dborysenko
ansible_become_method=su
ansible_become_exe=dzdo
ansible_become_flags="su -"    

License

BSD

Author Information

Dmytro Borysenko [email protected]