Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'INSTCONFPARTIALSUCCESS' in create profile roles not handled #323

Open
marde16 opened this issue Oct 27, 2023 · 0 comments
Open

'INSTCONFPARTIALSUCCESS' in create profile roles not handled #323

marde16 opened this issue Oct 27, 2023 · 0 comments

Comments

@marde16
Copy link
Contributor

marde16 commented Oct 27, 2023

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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant