Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Installing Modules in Oracle linux automation manager

Damola AzeezAug 28 2023

Hi Everyone,

I have an instance of Oracle linux automation manager. I attempted to add my windows host using winrm. Whin i tried to do a test ping from the manager instance, i get the error

ERROR! couldn't resolve module/action 'ansible.windows.win_ping'. This often indicates a misspelling, missing collection, or incorrect module path.

My yaml file is like this

---
- name: win_ping module demo
 hosts: windows
 become: true
 gather_facts: false
 tasks:
   - name: test connection
     ansible.windows.win_ping:

From my findings online, I see that i need to install the ansible.windows collection. I tried this running the

 ansible-galaxy collection install ansible.windows

But when i try again to run the playbook from the automation manager, the error still persists.

So my question is, Is there a way to make Oracle Linux automation manager handle the installation of the ansible.windows collection?

Comments
Post Details
Added on Aug 28 2023
1 comment
770 views