Describe the bug
We are using this collection for installing yum and python on AIX managed server.
To Reproduce
Steps to reproduce the behavior:
https://galaxy.ansible.com/ibm/power_aix
Downloaded tar file from ansible galaxy
Update ansible.cfg file and inventory file according to my env
After that the playbook execution is failing with below error
[root@p208n149 bootstrap]# ansible-playbook bootstrap.yml
PLAY [Bootstrap Yum on AIX] *******************************************************************************************************************************************
TASK [power_aix_bootstrap : Fail if pkgtype not specified] ************************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Fail if download_dir not specified] *******************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Fail if target_dir not specified] *********************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Fail if rpm_src not specified] ************************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Fail if yum_src not specified] ************************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Bootstrap yum] ****************************************************************************************************************************
included: /root/bhar/bootstrap/power_aix/roles/power_aix_bootstrap/tasks/yum_install.yml for p227n243
TASK [power_aix_bootstrap : Check for existence of yum] ***************************************************************************************************************
changed: [p227n243]
TASK [power_aix_bootstrap : Check for rpm_src file on localhost] ******************************************************************************************************
ok: [p227n243]
TASK [power_aix_bootstrap : Download latest rpm (installp) fileset] ***************************************************************************************************
changed: [p227n243]
TASK [power_aix_bootstrap : Check for yum_src file on localhost] ******************************************************************************************************
ok: [p227n243]
TASK [power_aix_bootstrap : Download yum bundle file] *****************************************************************************************************************
changed: [p227n243]
TASK [power_aix_bootstrap : Check for script file on localhost] *******************************************************************************************************
ok: [p227n243]
TASK [power_aix_bootstrap : Copy the installer script file] ***********************************************************************************************************
changed: [p227n243]
TASK [power_aix_bootstrap : Check for target directory] ***************************************************************************************************************
changed: [p227n243]
TASK [power_aix_bootstrap : Check for target yum bundle] **************************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Create target filesystem for image transfer] **********************************************************************************************
changed: [p227n243]
TASK [power_aix_bootstrap : Mount target filesystem] ******************************************************************************************************************
changed: [p227n243]
TASK [power_aix_bootstrap : Transfer install images] ******************************************************************************************************************
changed: [p227n243]
TASK [power_aix_bootstrap : Restore yum bundle content] ***************************************************************************************************************
changed: [p227n243]
TASK [power_aix_bootstrap : Remove temporary storage space] ***********************************************************************************************************
changed: [p227n243]
TASK [power_aix_bootstrap : Print status] *****************************************************************************************************************************
ok: [p227n243] => {
"msg": "Bootstrap attempt of yum on p227n243 has completed"
}
TASK [power_aix_bootstrap : Bootstrap python] *************************************************************************************************************************
skipping: [p227n243]
PLAY [Bootstrap Python on AIX] ****************************************************************************************************************************************
TASK [power_aix_bootstrap : Fail if pkgtype not specified] ************************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Fail if download_dir not specified] *******************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Fail if target_dir not specified] *********************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Fail if rpm_src not specified] ************************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Fail if yum_src not specified] ************************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Bootstrap yum] ****************************************************************************************************************************
skipping: [p227n243]
TASK [power_aix_bootstrap : Bootstrap python] *************************************************************************************************************************
fatal: [p227n243]: FAILED! => {"reason": "couldn't resolve module/action 'ibm.power_aix.filesystem'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/root/bhar/bootstrap/power_aix/roles/power_aix_bootstrap/tasks/python_install.yml': line 13, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# EXPAND target paths\n - name: Expand /var target directory (+100M)\n ^ here\n"}
PLAY RECAP ************************************************************************************************************************************************************
p227n243 : ok=15 changed=10 unreachable=0 failed=1 skipped=13 rescued=0 ignored=0
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: [e.g. AIX 7.2.4.0]
- Python Version [e.g. 2.7.5, 3.6]
- OpenSSH Version [e.g. 1.0.2]
Additional context
Add any other context about the problem here.