I can see ~./.ansible/collections/arubanetworks/aos_switch/plugins/modules/arubaoss_command.py On Thursday, October 22, 2020 at 9:48:23 AM UTC-4 Fiend Busa wrote:
> Hey, > > So all the collections are being installed in ~/.*ansible*/*collections*/ > > ansible CFG is located in /etc/ansible.cfg > > I have other collections as well (cisco.asa) it's only the aruba one that > is giving this error. I installed the collection directly on the ubuntu > server and can see it under ~/.*ansible*/*collections*/ > On Wednesday, October 21, 2020 at 4:16:08 PM UTC-4 [email protected] > wrote: > >> 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/198d5361-29cb-435b-949a-62e3f07c4e58n%40googlegroups.com.
