I’m trying to install packages with ansible on the app servers. This is task number 2, level 2. I successfully installed the package and activated their service. I’m also able to verify this by SSH-ing into that particular server. However, I’m still encountering an error while validating the task. Please help me with this issue. @Alistair_KodeKloud I’m facing the same issue with other packages like httpd, zip, and vim-enhanced.
I think the task asks you to use yum to install the packages. You don’t need a when clause and also it doesn’t say to configure or restart samba, just install it.
@34_Aniket-Kale You haven’t defined the SSH credentials in the inventory file you shared, did you setup the passwod-less SSH from jump host to the apps servers before running the playbook?
Can you please share each step you took along with your inventory and playbook so that we can replicate this issue on our end.
Strange, I tried a few times, but it seems to be passing. Could you try once more, probably the changes were not reflected on prod when you retried it.
Perhaps, but in the end, it has worked now, and the task is successful. So, am I getting any reward points for reporting this bug and investing my time into it? LOL.