Ok, so this is suggesting that it can't find it on the default collections path to me. Do you have an ansible.cfg with anything in it for collections and where did you install the collection?
On Wed, 21 Oct 2020 at 21:10, Fiend Busa <[email protected]> wrote: > 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 a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/3vYUd0vit2Q/unsubscribe. > To unsubscribe from this group and all its topics, 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/CAJ3TUwidFOBsWNxZfdNKONMjMZxLtyKnzNFecE1FM1hZeCXO0w%40mail.gmail.com.
