Skip to content

Commit

Permalink
Fix iim (#89)
Browse files Browse the repository at this point in the history
* test

* revert

* t

* Revert "t":

This reverts commit 5c5c0dd.

* only 1 test

* t

* t

* t

* t

* t

* t

* t

* test

* cleanup

* cleanup

---------

Co-authored-by: Roman Muntean <[email protected]>
  • Loading branch information
romakarol and Roman Muntean authored Jun 17, 2024
1 parent b197050 commit c1d7c80
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,17 @@ jobs:
ls -la
# Fake install cloned collection (required for molecule)
mkdir -p $HOME/.ansible/collections/$COLLECTION_NAMESPACE
ln -s ansible_collections/$COLLECTION_NAMESPACE/$COLLECTION_NAME $HOME/.ansible/collections/$COLLECTION_NAMESPACE/$COLLECTION_NAME
ln -s ansible_collections/$COLLECTION_NAMESPACE/$COLLECTION_NAME $HOME/.ansible/collections/$COLLECTION_NAMESPACE/$COLLECTION_NAME
# - name: Sanity checks
# run: |
# ansible-test sanity --docker -v --color --python ${{ env.python_ver }}

- name: Molecule
run: |
cd ${{ env.NEW_REPO_LOC }}
export DEFAULT_MODULE_PATH=$(pwd)/plugins/modules
echo "DEFAULT_MODULE_PATH: $DEFAULT_MODULE_PATH"
ls -la
molecule test -s ${{ matrix.scenario }}
2 changes: 1 addition & 1 deletion molecule/__ihs-v90/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
hosts: all
pre_tasks:
- name: Check packages
iim_info:
merative.spm_middleware.iim_info:
iim_path: /opt/IBM/InstallationManager
register: iim_info

Expand Down
2 changes: 1 addition & 1 deletion molecule/__liberty/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- name: Check packages
# Assuming 'iim_info' module is part of the 'iim' role or a custom module.
# If it's a custom module, ensure that it's properly located in the 'library' directory inside the role.
iim_info:
merative.spm_middleware.iim_info:
iim_path: /opt/IBM/InstallationManager
register: iim_info
- name: Get jvm.options
Expand Down
2 changes: 1 addition & 1 deletion molecule/__liberty17/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- name: Check packages
# Assuming 'iim_info' module is part of the 'iim' role or a custom module.
# If it's a custom module, ensure that it's properly located in the 'library' directory inside the role.
iim_info:
merative.spm_middleware.iim_info:
iim_path: /opt/IBM/InstallationManager
register: iim_info
- name: Get jvm.options
Expand Down
2 changes: 1 addition & 1 deletion molecule/__liberty21/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- name: Check packages
# Assuming 'iim_info' module is part of the 'iim' role or a custom module.
# If it's a custom module, ensure that it's properly located in the 'library' directory inside the role.
iim_info:
merative.spm_middleware.iim_info:
iim_path: /opt/IBM/InstallationManager
register: iim_info
- name: Get jvm.options
Expand Down
2 changes: 1 addition & 1 deletion molecule/__websphere-v90/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
hosts: all
pre_tasks:
- name: Check packages
iim_info:
merative.spm_middleware.iim_info:
iim_path: /opt/IBM/InstallationManager
register: iim_info

Expand Down

0 comments on commit c1d7c80

Please sign in to comment.