Can we assume you're running an ansible version compatible with collections?
What's collection_path on your ansible.cfg ?
Have you tried running it with -vvv?

El mié., 21 oct. 2020 a las 22:10, Fiend Busa (<[email protected]>)
escribió:

> Hey,
>
> I get the same error:
> ERROR! couldn't resolve module/action
> 'arubanetworks.aos_switch.arubaoss_command'. This often indicates a
> misspelling, missing collection, or incorrect module path.
> 12
> 13
>
>
> On Wednesday, October 21, 2020 at 2:57:12 PM UTC-4 [email protected]
> wrote:
>
>> what happens when you use the FQCN (fully qualified collection name) as
>> part of the task? arubanetworks.aos_switch.arubaoss_command:
>>
>> On Wednesday, 21 October 2020 at 15:31:07 UTC+1 [email protected] wrote:
>>
>>> ---
>>> - hosts: all
>>>   gather_facts: false
>>>   connection: local
>>>   become: yes
>>>   become_method: enable
>>>
>>>   collections:
>>>     - arubanetworks.aos_switch
>>>
>>>   tasks:
>>>     - name: Show running configuration
>>>       arubaoss_command:
>>>         commands: ['show run']
>>>
>>> ERROR! couldn't resolve module/action 'arubaoss_command'. This often
>>> indicates a misspelling, missing collection, or incorrect module path.
>>>
>>> Server where ansible is installed tells me its already installed
>>> https://galaxy.ansible.com/arubanetworks/aos_switch
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/d6965e56-6a75-41d3-838b-88f8418f4d7dn%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/d6965e56-6a75-41d3-838b-88f8418f4d7dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFtje5P%3DeU2e9Wt4njkZ8TYozsyGOvS%3DNiv4vRPUP8-PCEAa1g%40mail.gmail.com.

Reply via email to