Skip to content

Commit 58ebcb8

Browse files
committed
emcli for oem
1 parent ff2a903 commit 58ebcb8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

playbooks/oem_blackout/oem-blackout/defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
emcli: /u01/app/oracle/product/emcli/emcli
1+
emcli: "{{ '/u01/app/oracle/product/emcli/emcli' if (inventory_hostname is not search('oem')) else '/u01/app/oracle/product/mw135/bin/emcli' }}"
22
emcli_java_location: /u01/app/oracle/product/oem-agent/agent_{{ OEM_AGENT_VERSION }}/oracle_common/jdk/jre/bin
33
oem_secretsmanager_passwords:
44
emrep:

playbooks/oem_blackout/oem-blackout/tasks/script_exclusion.yml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
{{ emctl_agent }} config agent listtargets | awk -F, '/^\[.*, host\]/{print $1}' | sed 's/^\[//'
99
register: get_agent_host
1010
changed_when: false
11-
when: not inventory_hostname is search('oem') or environment_name is search('hmpps-oem')
1211

1312
- name: Get the Time
1413
setup:

0 commit comments

Comments
 (0)