项目作者: dborysenko

项目描述 :
Get OEM agent home directory
高级语言: Python
项目地址: git://github.com/dborysenko/oem-agent-get-home.git
创建时间: 2017-06-12T21:16:31Z
项目社区:https://github.com/dborysenko/oem-agent-get-home

开源协议:

下载


OEM agent get home

Role to retrieve OEM agent oracle home and owner.

Requirements

Tested on OEM 12c (12.1.0.4).

Role Variables

  1. OEM_URL: https://oem.example.com:8090/em # URL which can be used to login to OEM.
  2. OEM_PASSWORD: q1w2e3 # sysman password for OEM.
  3. OEM_HOST: oms1.example.com # One of OEM's nodes. Ansible host should have ssh-key based access to it.
  4. OEM_AGENT_PORT: 3872 # agent port

Example Playbook

site.yml

  1. - hosts: weblogic, adminsu, singlehosts
  2. roles:
  3. - dborysenko.oem-agent-get-home

hosts

  1. [adminserver]
  2. [singlehosts]
  3. webserver.example.com
  4. [weblogic]
  5. [all]
  6. [all:children]
  7. adminserver
  8. singlehosts
  9. weblogic
  10. [all:vars]
  11. ansible_user=dborysenko
  12. ansible_become_method=su
  13. ansible_become_exe=dzdo
  14. ansible_become_flags="su -"
  15. [deleg]
  16. oms1.example.com
  17. [deleg:vars]
  18. ansible_user=oracle

License

BSD

Author Information

Dmytro Borysenko borysenus@gmail.com