HCL-TECH-SOFTWARE / connections-automation

Deployment and upgrade automation scripts for HCL Connections 7.0 based on Ansible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'INSTCONFPARTIALSUCCESS' in create profile roles not handled

marde16 opened this issue · comments

The roles was-dmgr-create-profile and wasnd-create-profile handles only the status INSTCONFSUCCESS and INSTCONFFAILED.

- name: "Create Profile"
command: "{{ __was_install_location }}/bin/manageprofiles.sh -response {{ __rsp_file }}"
register: cout
changed_when: ( cout.stdout.find('INSTCONFSUCCESS') != -1)
failed_when: ( cout.stdout.find('INSTCONFFAILED') != -1)

- name: "Create Was Profile"
command: "{{ __was_install_location }}/bin/manageprofiles.sh -response {{ __rsp_file }}"
register: cout
changed_when: ( cout.stdout.find('INSTCONFSUCCESS') != -1)
failed_when: ( cout.stdout.find('INSTCONFFAILED') != -1)
when: not profile_already_exists.stat.exists

In my situation the profile creation for dmgr and appsrv ended with 'INSTCONFPARTIALSUCCESS' and I saw the following line in the log:

TASK [was-dmgr-create-profile : Create Profile] *****************************************************************************************************************************
ok: [dmgr.domain.local]

: 
: 

TASK [was-profile-create : Create Was Profile] ******************************************************************************************************************************
ok: [dmgr.domain.local]