dborysenko.oem-agent-get-home
OEMエージェントのホーム取得
OEMエージェントのOracleホームおよび所有者を取得する役割。
要件
OEM 12c (12.1.0.4)でテスト済み。
役割変数
OEM_URL: https://oem.example.com:8090/em # OEMへのログインに使用できるURL。
OEM_PASSWORD: q1w2e3 # OEMのsysmanパスワード。
OEM_HOST: oms1.example.com # OEMのノードの1つ。AnsibleホストはSSHキーを使ったアクセスを持っている必要があります。
OEM_AGENT_PORT: 3872 # エージェントポート
例プレイブック
site.yml
- hosts: weblogic, adminsu, singlehosts
roles:
- dborysenko.oem-agent-get-home
hosts
[adminserver]
[singlehosts]
webserver.example.com
[weblogic]
[all]
[all:children]
adminserver
singlehosts
weblogic
[all:vars]
ansible_user=dborysenko
ansible_become_method=su
ansible_become_exe=dzdo
ansible_become_flags="su -"
[deleg]
oms1.example.com
[deleg:vars]
ansible_user=oracle
ライセンス
BSD
著者情報
Dmytro Borysenko borysenus@gmail.com